/* ===================================
   TBCPL - AMOLED Purple Glass
   Final Theme: Smart Presentation Mode
   =================================== */

:root {
    --background: #000000;
    --surface-glass: rgba(15, 15, 15, 0.75);
    --border: rgba(139, 92, 246, 0.25);
    --accent-primary: #8b5cf6;
    --accent-hover: #a78bfa;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --glass-blur: blur(8px); 
    --radius-pill: 50px;
    --radius-lg: 16px;
    --font-sans: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    background-color: var(--background);
    color-scheme: dark !important;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) #000;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--background);
    color: #fff;
    line-height: 1.6;
    padding-top: 70px;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container { 
    max-width: 1200px; margin: 0 auto; padding: 0 20px; 
    flex: 1; 
    display: flex; flex-direction: column;
}

/* === NAVIGATION === */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: 60px; background: var(--surface-glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-bottom: 1px solid var(--border); z-index: 1000; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-weight: 800; text-decoration: none; color: #fff; display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 32px; }
.nav-menu { display: flex; list-style: none; gap: 10px; }
.nav-link { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; padding: 8px 12px; transition: 0.2s; border-radius: 8px; }
.nav-link.active, .nav-link:hover { color: var(--accent-primary); background: rgba(139, 92, 246, 0.1); }
.nav-toggle { display: none; background: none; border: none; color: var(--accent-primary); font-size: 1.5rem; cursor: pointer; }

/* === LAYOUT CONTAINERS === */
.hero-section { text-align: center; padding: 60px 0 30px; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -2px; }

/* DYNAMIC TITLE LETTERS */
.brand-letter {
    color: var(--accent-primary);
    text-shadow: 0 0 15px var(--accent-glow);
}

.warning-card { background: var(--surface-glass); border: 1px solid var(--border); border-left: 4px solid var(--accent-primary); border-radius: 12px; padding: 20px; margin-bottom: 40px; backdrop-filter: var(--glass-blur); }
.community-section-compact { display: flex; justify-content: center; align-items: center; margin-bottom: 35px; }
.community-links { display: flex; gap: 30px; }
.standard-link { color: var(--accent-primary); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; vertical-align: middle; }
.inline-icon { height: 22px; width: auto; margin: 0 6px; vertical-align: middle; }

/* === SEARCH === */
.search-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.search-pill {
    width: 100%;
    max-width: 500px;
    padding: 18px 30px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    text-align: center;
}

.search-pill::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-pill:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 25px var(--accent-glow);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover {
    border-color: var(--accent-primary);
    color: #fff;
    background: rgba(139, 92, 246, 0.15);
}

.filter-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* === VERTICAL SLIDE DOT INDICATORS === */
.slide-indicators { position: fixed; right: 25px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 15px; z-index: 999; }
.slide-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: 0.3s; }
.slide-dot:hover { background: rgba(255,255,255,0.5); transform: scale(1.2); }
.slide-dot.active { background: var(--accent-primary); box-shadow: 0 0 12px var(--accent-glow); transform: scale(1.4); }

/* === POWERPOINT SCROLL ZONES === */
#categories-container {
    padding-bottom: 20px;
}

.section-header { display: flex; align-items: center; justify-content: center; gap: 20px; text-align: center; font-size: 1.8rem; margin-bottom: 30px; color: #fff; text-transform: uppercase; font-weight: 800; text-shadow: 0 0 15px var(--accent-glow), 0 0 5px var(--accent-primary); }
.section-header::before, .section-header::after { content: ''; flex: 0 1 40px; height: 3px; background: var(--accent-primary); border-radius: var(--radius-pill); box-shadow: 0 0 10px var(--accent-primary); }

.section {
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px;
    backdrop-filter: var(--glass-blur);
    opacity: 1;
    transform: translateY(0);
    margin-top: 30px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.links-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.link-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    min-height: 95px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.08);
}
.link-card:hover { border-color: var(--accent-primary); background: var(--accent-glow); transform: translateY(-4px); box-shadow: 0 0 20px var(--accent-glow); }
.card-logo { max-width: 100%; max-height: 45px; object-fit: contain; }

/* === NEON GRADIENT SCROLLBAR === */
::-webkit-scrollbar { width: 14px !important; }
::-webkit-scrollbar-track { background: #000 !important; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent-primary) 0%, #000 100%) !important; border-radius: 10px; border: 3px solid #000; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu { position: fixed; top: 60px; left: 0; right: 0; flex-direction: column; background: #000; padding: 20px; display: none; border-bottom: 1px solid var(--border); }
    .nav-menu.active { display: flex; }
    .section-header::before, .section-header::after { flex: 0 1 20px; }
    .search-pill { max-width: 100%; padding: 15px 25px; font-size: 0.95rem; }
    .filter-buttons { gap: 8px; }
    .filter-btn { padding: 8px 14px; font-size: 0.8rem; }
    .links-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .link-card { padding: 15px; min-height: 80px; }
    .section { padding: 20px; }
}

/* === SCROLL TO TOP BUTTON === */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--accent-primary);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top-btn:hover {
    transform: scale(1.1);
    border-color: var(--accent-primary);
}

.scroll-top-btn svg {
    position: absolute;
    width: 56px;
    height: 56px;
    transform: rotate(-90deg);
}

.scroll-top-btn .progress-ring {
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s;
}

.scroll-top-btn .progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 3;
}

.scroll-top-btn .arrow {
    color: #fff;
    font-size: 18px;
    z-index: 1;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .scroll-top-btn svg {
        width: 45px;
        height: 45px;
    }
}

/* === PAGE CONTENT (Forms, About, etc) === */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
}

.form-section {
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 1rem;
}

.form-label i {
    margin-right: 8px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

textarea.form-input {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--accent-primary);
    border: none;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 20px var(--accent-glow);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.form-submit i {
    margin-right: 10px;
}

.success-message {
    text-align: center;
    padding: 40px;
    border: 2px solid #22c55e;
    border-radius: 16px;
    background: rgba(34, 197, 94, 0.08);
    display: none;
}

.success-message .icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.success-message h3 {
    color: #22c55e;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.success-message p {
    opacity: 0.8;
    font-size: 1rem;
}

/* Guidelines Cards */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.guideline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.08);
}

.guideline-card h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guideline-card h3.positive { color: #22c55e; }
.guideline-card h3.negative { color: #ef4444; }

.guideline-list {
    list-style: none;
    line-height: 2.2;
}

.guideline-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.guideline-list li i {
    color: var(--accent-primary);
    font-size: 0.8rem;
}

/* Info Cards for About/DMCA pages */
.info-card {
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.info-card h2 {
    color: var(--accent-primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 15px;
}

.info-card a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-content {
        padding: 20px;
    }
    .form-section {
        padding: 25px;
    }
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
    .guideline-card {
        padding: 25px;
    }
}

/* === FOOTER UPDATES === */
.footer {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid var(--border);
    margin-top: 40px;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    transition: 0.3s;
}

.footer-link:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

