/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --text: #334155;
    --text-light: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ANIMATED BACKGROUND ===== */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
    opacity: 0.03;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.navbar {
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
}

.logo:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.logo-image {
    height: 55px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav-menu a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a:hover {
    color: white;
    background: rgba(139, 92, 246, 0.2);
}

.nav-menu a.active {
    color: white;
    background: var(--primary);
}

.btn-register {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white !important;
}

.btn-login {
    background: var(--primary);
    color: white !important;
}

.btn-register:hover,
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 20px 120px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 25px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-stats-mini {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
}

.online-dot {
    color: var(--success);
    animation: pulse 2s infinite;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    margin-top: 60px;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 2rem;
    opacity: 0.7;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn i {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--light);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    position: relative;
    text-align: center;
    padding: 45px 35px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    transition: all 0.4s;
    border: 2px solid transparent;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.feature-card:hover .feature-icon-wrapper {
    transform: rotateY(360deg);
}

.feature-icon {
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== STATS ===== */
.stats {
    position: relative;
    background: var(--dark);
    color: white;
    padding: 80px 20px;
    overflow: hidden;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%238b5cf6" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center;
    background-size: cover;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.4s;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.online-pulse {
    animation: pulse 2s infinite;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--primary-light);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.stat-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin-top: 20px;
    animation: expandWidth 2s ease-out;
}

/* ===== NEWS ===== */
.news {
    padding: 100px 20px;
    background: var(--light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.news-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-card.featured {
    border: 3px solid var(--primary);
}

.news-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.news-badge.event {
    background: linear-gradient(135deg, var(--accent), var(--danger));
}

.news-badge.guide {
    background: linear-gradient(135deg, var(--success), #059669);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    overflow: hidden;
    position: relative;
}

.news-image.has-image {
    background: #f1f5f9;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-image i {
    position: relative;
    z-index: 1;
}

.news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-category {
    background: var(--light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.4rem;
}

.news-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.news-link:hover {
    gap: 12px;
}

.news-link i {
    transition: transform 0.3s;
}

.news-link:hover i {
    transform: translateX(5px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top;
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary);
}

.footer-logo h3 {
    font-size: 1.5rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section a i.fa-chevron-right {
    font-size: 0.7rem;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0 !important;
}

.social-btn:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.scroll-top.show {
    display: flex;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-stats-mini {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* ===== PAGE HEADER ===== */
.page-header {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb i.fa-chevron-right {
    font-size: 0.7rem;
    opacity: 0.7;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* ===== ABOUT CONTENT ===== */
.about-content {
    padding: 100px 20px;
}

.about-content > .container > div {
    margin-bottom: 100px;
}

.about-content > .container > div:last-child {
    margin-bottom: 0;
}

/* ===== INTRO SECTION ===== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.intro-text {
    animation: fadeInLeft 1s ease-out;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.8;
    position: relative;
    padding-left: 30px;
}

.lead-text i {
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 1.5rem;
    opacity: 0.5;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 20px;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.intro-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, var(--light), white);
    border-radius: 15px;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.intro-stat:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.intro-stat i {
    font-size: 2rem;
    color: var(--primary);
}

.intro-stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--dark);
}

.intro-stat span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.intro-image {
    animation: fadeInRight 1s ease-out;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.image-placeholder i {
    font-size: 6rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.image-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
}

/* ===== STORY TIMELINE ===== */
.story-timeline {
    position: relative;
    margin-top: 60px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item.highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--primary);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding-top: 5px;
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.timeline-content strong {
    color: var(--primary);
}

/* ===== KINGDOMS SECTION ===== */
.kingdoms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.kingdom-card {
    position: relative;
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s;
    border: 3px solid;
}

.kingdom-card.karus {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: #dc2626;
    color: white;
}

.kingdom-card.elmorad {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-color: #3b82f6;
    color: white;
}

.kingdom-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.kingdom-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.kingdom-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.kingdom-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.kingdom-motto {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.kingdom-card > p {
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.95;
}

.kingdom-features {
    list-style: none;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
}

.kingdom-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kingdom-features li:last-child {
    border-bottom: none;
}

.kingdom-features i {
    color: var(--success);
    font-size: 1.1rem;
}

/* ===== CLASSES SECTION ===== */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.class-card {
    position: relative;
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 3px solid transparent;
    overflow: hidden;
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.class-card:hover::before {
    transform: scaleX(1);
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.25);
    border-color: var(--primary);
}

.class-card.warrior {
    border-top: 5px solid #dc2626;
}

.class-card.rogue {
    border-top: 5px solid #f59e0b;
}

.class-card.mage {
    border-top: 5px solid #8b5cf6;
}

.class-card.priest {
    border-top: 5px solid #10b981;
}

.class-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.class-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.class-card:hover .class-icon-wrapper {
    transform: rotateY(360deg);
}

.class-icon {
    font-size: 2.5rem;
    color: white;
}

.class-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    text-align: center;
}

.class-description {
    text-align: center;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.class-stats {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
}

.stat-bar-item {
    margin-bottom: 15px;
}

.stat-bar-item:last-child {
    margin-bottom: 0;
}

.stat-bar-item span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.stat-bar-bg {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 1s ease-out;
}

.class-features {
    list-style: none;
}

.class-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.class-features li:last-child {
    border-bottom: none;
}

.class-features i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===== FEATURES DETAIL ===== */
.feature-list {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    gap: 25px;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border-left: 5px solid var(--primary);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.feature-item-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item-content h3 {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-item-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE - ABOUT PAGE ===== */
@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .kingdoms-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .story-timeline::before {
        display: none;
    }
    
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item-icon {
        margin: 0 auto;
    }
}


/* ===== DOWNLOAD PAGE ===== */
.download-section {
    padding: 100px 20px;
    background: var(--light);
}

.download-section > .container > div {
    margin-bottom: 80px;
}

.download-section > .container > div:last-child {
    margin-bottom: 0;
}

/* ===== MAIN DOWNLOAD BOX ===== */
.main-download-wrapper {
    margin-bottom: 100px;
}

.main-download-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.main-download-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.download-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.download-info h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.download-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.download-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.download-action {
    text-align: center;
}

.btn-download {
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    animation: pulse 2s infinite;
}

.download-note {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.download-note i {
    color: var(--success);
}

/* ===== OTHER DOWNLOADS ===== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.download-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 2px solid transparent;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.download-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.badge-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.badge-warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.badge-info { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.badge-secondary { background: linear-gradient(135deg, #6b7280, #4b5563); }

.download-card-icon {
    height: 150px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.download-card-content {
    padding: 30px;
}

.download-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.download-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.download-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.download-card-meta i {
    color: var(--primary);
}

.download-card-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.download-card-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.download-card-stats i {
    color: var(--primary);
}

.download-card-footer {
    padding: 0 30px 30px;
}

/* ===== SYSTEM REQUIREMENTS ===== */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.requirement-card {
    position: relative;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 3px solid var(--border);
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.requirement-card.minimum {
    border-color: #6b7280;
}

.requirement-card.recommended {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
}

.requirement-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.requirement-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.requirement-header i {
    font-size: 2.5rem;
    color: var(--primary);
}

.requirement-header h3 {
    font-size: 1.8rem;
    color: var(--dark);
}

.requirement-list {
    list-style: none;
}

.requirement-list li {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.requirement-list li:last-child {
    border-bottom: none;
}

.requirement-list i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 30px;
    flex-shrink: 0;
}

.requirement-list strong {
    display: block;
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 3px;
}

.requirement-list span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== INSTALLATION GUIDE ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    position: relative;
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto 25px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.step-card a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.step-card a:hover {
    text-decoration: underline;
}

/* ===== HELP SECTION ===== */
.download-help {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.help-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.help-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    flex-shrink: 0;
}

.help-text {
    text-align: left;
}

.help-text h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.help-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.help-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.help-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px;
    background: linear-gradient(135deg, var(--light), white);
    border-radius: 15px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
    border: 2px solid var(--border);
}

.help-link:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.help-link i {
    font-size: 2.5rem;
    color: var(--primary);
}

.help-link span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== RESPONSIVE - DOWNLOAD PAGE ===== */
@media (max-width: 992px) {
    .main-download-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .download-icon-large {
        margin: 0 auto;
    }
    
    .download-meta {
        justify-content: center;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .help-content {
        flex-direction: column;
        text-align: center;
    }
    
    .help-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-download-box {
        padding: 30px;
    }
    
    .download-info h2 {
        font-size: 1.5rem;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .help-links {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ===== GALLERY PAGE ===== */
.gallery-section {
    padding: 100px 20px;
    background: var(--light);
}

/* ===== GALLERY TABS ===== */
.gallery-tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.gallery-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s;
    position: relative;
}

.gallery-tab-btn i {
    font-size: 1.2rem;
    color: var(--primary);
}

.gallery-tab-btn .tab-count {
    background: var(--light);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.gallery-tab-btn:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.2);
}

.gallery-tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

.gallery-tab-btn.active i {
    color: white;
}

.gallery-tab-btn.active .tab-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ===== TAB CONTENT ===== */
.gallery-tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.gallery-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.gallery-placeholder {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.4s;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1.2);
    color: rgba(255, 255, 255, 0.5);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: all 0.4s;
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.gallery-view-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.gallery-view-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.5);
}

.gallery-info {
    padding: 15px 20px;
}

.gallery-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== VIDEO GRID ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.4s;
}

.video-item:hover .video-icon {
    transform: scale(1.2);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.video-play-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.5);
}

.video-play-btn i {
    font-size: 1.5rem;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.video-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.video-meta i {
    color: var(--primary);
}

/* ===== WALLPAPER GRID ===== */
.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.wallpaper-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
}

.wallpaper-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.wallpaper-thumbnail {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wallpaper-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.4s;
}

.wallpaper-item:hover .wallpaper-icon {
    transform: scale(1.2);
}

.wallpaper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s;
}

.wallpaper-item:hover .wallpaper-overlay {
    opacity: 1;
}

.wallpaper-actions {
    display: flex;
    gap: 15px;
}

.wallpaper-preview-btn,
.wallpaper-download-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.wallpaper-preview-btn:hover,
.wallpaper-download-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.wallpaper-info {
    padding: 20px;
}

.wallpaper-info h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.wallpaper-specs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.wallpaper-resolution,
.wallpaper-size {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.wallpaper-resolution i,
.wallpaper-size i {
    color: var(--primary);
}

/* ===== RESPONSIVE - GALLERY PAGE ===== */
@media (max-width: 768px) {
    .gallery-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .gallery-tab-btn {
        justify-content: center;
    }
    
    .gallery-grid,
    .video-grid,
    .wallpaper-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== NEWS PAGE ===== */
.news-list-section,
.news-detail-section {
    padding: 100px 20px;
    background: var(--light);
}

/* News List Grid */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.news-list-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-list-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.news-list-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-list-card:hover .news-list-image img {
    transform: scale(1.1);
}

.news-list-content {
    padding: 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.news-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-category-badge.general {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.news-category-badge.update {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
}

.news-category-badge.event {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.news-category-badge.guide {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.news-category-badge.announcement {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.news-list-content h2 {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-list-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    flex: 1;
}

.news-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.news-list-meta {
    display: flex;
    gap: 20px;
}

.news-list-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-list-meta i {
    color: var(--primary);
}

/* News Detail */
.news-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.news-detail-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.news-detail-header {
    margin-bottom: 40px;
}

.news-detail-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.news-featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-detail-header h1 {
    font-size: 2.5rem;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.news-detail-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.info-item i {
    color: var(--primary);
}

.news-detail-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 40px;
}

.news-detail-body p {
    margin-bottom: 20px;
}

.news-detail-footer {
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

/* News Sidebar */
.news-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h3 i {
    color: var(--primary);
}

.sidebar-news-item {
    display: block;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    margin-bottom: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-news-item:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(5px);
}

.sidebar-news-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.sidebar-news-category.general {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.sidebar-news-category.update {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
}

.sidebar-news-category.event {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.sidebar-news-category.guide {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.sidebar-news-category.announcement {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.sidebar-news-item h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.sidebar-news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.sidebar-news-date i {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .news-detail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .news-list-grid {
        grid-template-columns: 1fr;
    }
    
    .news-detail-content {
        padding: 30px 20px;
    }
    
    .news-detail-header h1 {
        font-size: 1.8rem;
    }
    
    .news-list-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}


/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.loading-spinner p {
    font-size: 1.1rem;
}

.no-news,
.error-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.error-message {
    color: var(--danger);
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 50px;
}


/* News Detail Image Placeholder */
.news-detail-image {
    position: relative;
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.news-detail-image:not(:has(img))::before {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
}


/* ===== HERO GRID & FORMS ===== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 50px 0;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.95rem;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    transition: all 0.3s;
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.hero-feature-item i {
    color: var(--success);
    font-size: 1.2rem;
}

/* ===== FORM CONTAINER ===== */
.hero-forms {
    animation: fadeInRight 1s ease-out;
}

.form-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.form-tab {
    flex: 1;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.form-tab.active {
    background: white;
    color: var(--primary);
    border-color: white;
}

.form-container {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.form-container.active {
    display: block;
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ===== FORM ELEMENTS ===== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--light);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-hint i {
    color: var(--primary);
}

/* ===== PASSWORD INPUT ===== */
.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    flex: 1;
    padding-right: 50px !important;
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.toggle-password:hover {
    color: var(--primary);
}

/* ===== PASSWORD STRENGTH ===== */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 6px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: var(--danger);
    border-radius: 10px;
    transition: all 0.3s;
}

.strength-fill.weak {
    width: 33%;
    background: var(--danger);
}

.strength-fill.medium {
    width: 66%;
    background: var(--warning);
}

.strength-fill.strong {
    width: 100%;
    background: var(--success);
}

.strength-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

.strength-text span {
    font-weight: 600;
    color: var(--danger);
}

.strength-text span.medium {
    color: var(--warning);
}

.strength-text span.strong {
    color: var(--success);
}

/* ===== FORM OPTIONS ===== */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.forgot-link,
.terms-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.forgot-link:hover,
.terms-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== BUTTON BLOCK ===== */
.btn-block {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.05rem;
}

/* ===== FORM DIVIDER ===== */
.form-divider {
    position: relative;
    text-align: center;
    margin: 10px 0;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.form-divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== SOCIAL LOGIN ===== */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: white;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn.discord {
    border-color: #5865F2;
    color: #5865F2;
}

.social-btn.discord:hover {
    background: #5865F2;
    color: white;
}

.social-btn.google {
    border-color: #DB4437;
    color: #DB4437;
}

.social-btn.google:hover {
    background: #DB4437;
    color: white;
}

.social-btn i {
    font-size: 1.3rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE - HERO FORMS ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-feature-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 30px 25px;
    }
    
    .form-tabs {
        flex-direction: column;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-stats-mini {
        flex-direction: column;
        align-items: center;
    }
    
    .social-login {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .form-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
}


/* ===== NOTIFICATION SYSTEM ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 18px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    min-width: 320px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid var(--success);
}

.notification-success i:first-child {
    color: var(--success);
    font-size: 1.5rem;
}

.notification-error {
    border-left: 4px solid var(--danger);
}

.notification-error i:first-child {
    color: var(--danger);
    font-size: 1.5rem;
}

.notification span {
    flex: 1;
    color: var(--dark);
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.notification-close:hover {
    color: var(--dark);
}

/* ===== RESPONSIVE NOTIFICATION ===== */
@media (max-width: 480px) {
    .notification {
        left: 20px;
        right: 20px;
        min-width: auto;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}


/* ===== HIDE EMPTY SOCIAL LINKS ===== */
.social-links a[href="#"],
.social-links a[href=""] {
    display: none;
}

/* ==========================================
   ANNOUNCEMENT BANNER
   ========================================== */
.announcement-banner {
    padding: 15px 0;
    position: relative;
    animation: slideDown 0.5s ease-out;
}

.announcement-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.announcement-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.announcement-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.announcement-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.announcement-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.announcement-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.announcement-text strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.announcement-text span {
    font-size: 0.95rem;
    opacity: 0.95;
}

.announcement-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.announcement-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .announcement-content {
        gap: 15px;
    }
    
    .announcement-icon {
        font-size: 1.5rem;
    }
    
    .announcement-text strong {
        font-size: 1rem;
    }
    
    .announcement-text span {
        font-size: 0.85rem;
    }
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    padding: 80px 0;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category-title {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

.faq-category-title i {
    color: var(--primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--light);
    color: var(--primary);
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 25px 30px;
    border-top: 1px solid var(--border);
}

.faq-answer p {
    color: var(--text);
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .faq-category-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px;
    }
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-section {
    padding: 100px 20px;
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-form-wrapper h2 i {
    color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.contact-form .form-group label i {
    color: var(--primary);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--light);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    animation: slideDown 0.5s ease-out;
}

.alert i {
    font-size: 1.3rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success);
    color: #065f46;
}

.alert-success i {
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger);
    color: #991b1b;
}

.alert-error i {
    color: var(--danger);
}

/* Contact Info Sidebar */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-wrapper h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-wrapper h2 i {
    color: var(--primary);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
}

.contact-info-content h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.contact-info-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.contact-info-content .btn {
    width: 100%;
    justify-content: center;
}

/* Social Connect */
.social-connect {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.social-connect h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.social-connect .social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper,
    .contact-info-item,
    .social-connect {
        padding: 25px 20px;
    }
    
    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 1.5rem;
    }
}

/* ===== GUIDES SECTION ===== */
.guides-section {
    padding: 60px 0;
    background: var(--light);
}

.guides-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Sidebar */
.guides-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h3 i {
    color: var(--primary);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-form button {
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Category List */
.category-list,
.difficulty-list,
.popular-list {
    list-style: none;
}

.category-item,
.difficulty-item {
    display: block;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.category-item:hover,
.difficulty-item:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateX(5px);
}

.category-item.active,
.difficulty-item.active {
    background: var(--primary);
    color: white;
}

/* Difficulty Badges */
.difficulty-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.difficulty-beginner {
    background: #d1fae5;
    color: #065f46;
}

.difficulty-intermediate {
    background: #fed7aa;
    color: #92400e;
}

.difficulty-advanced {
    background: #fecaca;
    color: #991b1b;
}

/* Popular List */
.popular-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-item:hover {
    color: var(--primary);
}

.popular-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.popular-meta {
    font-size: 12px;
    color: var(--text-light);
}

.popular-meta i {
    margin-right: 5px;
}

/* Main Content */
.guides-main {
    min-height: 500px;
}

/* Active Filters */
.active-filters {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: var(--text);
}

#filterTags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--primary-light);
    color: white;
    border-radius: 20px;
    font-size: 14px;
}

.btn-clear-filters {
    margin-left: auto;
    padding: 8px 16px;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-clear-filters:hover {
    background: #dc2626;
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--text-light);
}

.loading-indicator i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Guides Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.guide-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.guide-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.guide-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.guide-card:hover .guide-card-image img {
    transform: scale(1.1);
}

.guide-card-image .difficulty-badge {
    position: absolute;
    top: 15px;
    right: 15px;
}

.guide-card-content {
    padding: 25px;
}

.category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.guide-card-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.guide-card-content h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.guide-card-content h3 a:hover {
    color: var(--primary);
}

.guide-card-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.guide-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.guide-card-footer span {
    font-size: 14px;
    color: var(--text-light);
}

.guide-card-footer i {
    margin-right: 5px;
}

.btn-read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-read-more:hover {
    color: var(--primary-dark);
}

.btn-read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
}

.no-results i {
    font-size: 64px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 16px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.page-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-dots {
    padding: 10px;
    color: var(--text-light);
}

/* ===== GUIDE DETAIL ===== */
.guide-detail-section {
    padding: 60px 0;
    background: var(--light);
}

.guide-detail {
    background: white;
    border-radius: 12px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.guide-header {
    margin-bottom: 40px;
}

.guide-header h1 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--text-light);
}

.meta-item i {
    color: var(--primary);
}

.guide-excerpt {
    font-size: 18px;
    color: var(--text);
    line-height: 1.8;
    padding: 20px;
    background: var(--light);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
}

.guide-cover {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.guide-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.guide-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.guide-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--dark);
}

.guide-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--dark);
}

.guide-content p {
    margin-bottom: 20px;
}

.guide-content ul,
.guide-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.guide-content li {
    margin-bottom: 10px;
}

.guide-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.guide-content blockquote {
    padding: 20px;
    background: var(--light);
    border-left: 4px solid var(--primary);
    margin: 20px 0;
    font-style: italic;
}

.guide-content code {
    background: var(--dark-light);
    color: var(--primary-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.guide-content pre {
    background: var(--dark-light);
    color: var(--light);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

/* Share Buttons */
.guide-share {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

.guide-share h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.share-facebook {
    background: #1877f2;
    color: white;
}

.share-facebook:hover {
    background: #145dbf;
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-twitter:hover {
    background: #0c85d0;
}

.share-whatsapp {
    background: #25d366;
    color: white;
}

.share-whatsapp:hover {
    background: #1da851;
}

.share-copy {
    background: var(--dark-light);
    color: white;
}

.share-copy:hover {
    background: var(--dark);
}

/* Related Guides */
.related-guides {
    margin-top: 60px;
}

.related-guides h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .guides-layout {
        grid-template-columns: 1fr;
    }
    
    .guides-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-detail {
        padding: 30px 20px;
    }
    
    .guide-header h1 {
        font-size: 28px;
    }
    
    .guide-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .guides-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .guide-header h1 {
        font-size: 24px;
    }
    
    .guide-content {
        font-size: 15px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}
