/* =========================================
   Global Styles
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #ccb585;
    color: #000;
}

.btn-primary:hover {
    background-color: #fff;
}

.btn-outline {
    border-color: #ccb585;
    color: #ccb585;
}

.btn-outline:hover {
    background-color: #fff;
    color: #000;
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

.center-btn {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* =========================================
   Header & Navigation
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav > ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #ccc;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: #ccb585;
}

/* Active Indicator (Arrow + Line) */
.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: -26px; /* Position at the bottom of the header */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ccb585;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.main-nav > ul > li > a::before {
    content: '';
    position: absolute;
    bottom: -26px; /* Aligned with the line */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ccb585; /* Arrow pointing up */
    opacity: 0;
    transition: all 0.3s ease;
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after {
    transform: scaleX(1);
}

.main-nav > ul > li > a:hover::before,
.main-nav > ul > li > a.active::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Submenu */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    padding: 10px 0;
    border: 1px solid #333;
    display: none;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.has-submenu:hover .submenu {
    display: flex;
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    width: 100%;
    text-align: left;
    color: #bbb;
}

.submenu li a:hover {
    background-color: #ccb585;
    color: #000;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.icon-link {
    color: #999;
    font-size: 16px;
}

.icon-link:hover {
    color: #fff;
}

.divider {
    color: #333;
}

.btn-try-free {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ccb585;
    color: #000;
    padding: 8px 35px;
    border-radius: 2px;
    line-height: 1.2;
    height: 50px;
    min-width: 200px;
}

.btn-try-free span {
    font-size: 11px;
    text-transform: uppercase;
}

.btn-try-free strong {
    font-size: 16px;
    font-family: 'Cinzel', serif;
}

.btn-try-free:hover {
    background-color: #fff;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 80px;
    overflow: hidden;
    background-color: #000;
}

/* Background Image - Vivid & Static */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/bgheadernew.png') center/cover no-repeat;
    z-index: 0;
    filter: brightness(0.95) saturate(1.15) contrast(1.05);
}

/* Mirror Shine Effect Removed */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-online-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(46, 204, 113, 0.4);
    padding: 10px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
	margin-left: 100px;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

.hero-online-status .status-text {
    color: #2ecc71;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.hero-online-status .status-dot {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 5px #2ecc71;
}

.hero-online-status .status-dot::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px;
    right: -4px; bottom: -4px;
    border: 1px solid #2ecc71;
    border-radius: 50%;
    opacity: 0.8;
    animation: statusPulse 1.5s infinite;
}


.hero-logo {
    max-width: 500px;
    margin-bottom: 20px;
    margin-left: 0; /* Align left */
    animation: floatGlow 4s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 5px 15px rgba(204, 181, 133, 0.2));
    }
    50% {
        transform: translateY(-10px);
        filter: drop-shadow(0 25px 30px rgba(204, 181, 133, 0.5)) brightness(1.1);
    }
}

.hero p {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start; /* Align left */
}

/* =========================================
   Falling Stars Effect
   ========================================= */
.star {
    position: absolute;
    top: -10px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(204, 181, 133, 0.4);
    animation: fall linear forwards;
    z-index: 1; /* Behind content but above background */
    pointer-events: none;
}

@keyframes fall {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }
}
.news-section, .classes-section, .multimedia-section {
    padding: 80px 0;
    border-bottom: 1px solid #1a1a1a;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    color: #ccb585;
    margin-bottom: 10px;
}

.section-header p {
    color: #888;
    font-size: 16px;
}

/* =========================================
   News Section
   ========================================= */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    background-color: #111;
    padding: 20px;
    border-left: 3px solid #333;
    transition: all 0.3s;
}

.news-item:hover {
    background-color: #1a1a1a;
    border-left-color: #ccb585;
    transform: translateX(10px);
}

.news-date {
    color: #ccb585;
    font-weight: 700;
    margin-right: 20px;
    min-width: 60px;
}

.news-category {
    color: #666;
    margin-right: 20px;
    min-width: 100px;
}

.news-title {
    color: #ddd;
    font-size: 16px;
    flex: 1;
}

.news-item:hover .news-title {
    color: #fff;
}

/* =========================================
   Classes Section
   ========================================= */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.class-card {
    background-color: #0a0a0a;
    border: 1px solid #222;
    transition: all 0.3s;
    cursor: pointer;
}

.class-card:hover {
    border-color: #ccb585;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(204, 181, 133, 0.1);
}

.class-img {
    height: 250px;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.class-info {
    padding: 25px;
    text-align: center;
}

.class-info h4 {
    color: #ccb585;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    margin-bottom: 5px;
}

.class-info p {
    color: #666;
    font-size: 14px;
}

/* =========================================
   Multimedia Section
   ========================================= */
.multimedia-section {
    padding: 80px 0;
    background-image: url('../assets/images/bgmult.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-bottom: 1px solid #ccb585;
}

.multimedia-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Optional: Dark overlay to improve text readability */
    z-index: 1;
}

.multimedia-section .container {
    position: relative;
    z-index: 2;
}

.multimedia-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.media-item {
    background-color: #000;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid #333;
    transition: all 0.3s;
    cursor: pointer;
}

.media-item.small {
    width: 120px;
    height: 80px;
    opacity: 0.5;
}

.media-item.medium {
    width: 200px;
    height: 120px;
    opacity: 0.7;
}

.media-item.large {
    width: 600px;
    height: 340px;
    opacity: 1;
    border-color: #ccb585;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.media-item:hover {
    opacity: 1;
    border-color: #ccb585;
    transform: scale(1.05);
    z-index: 10;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s;
}

.media-item:hover .play-button {
    background-color: #ccb585;
    border-color: #ccb585;
    color: #000;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.video-content {
    background-color: #000;
}

.video-overlay span {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.multimedia-cta {
    text-align: center;
    background: linear-gradient(90deg, transparent, rgba(204, 181, 133, 0.1), transparent);
    padding: 40px;
}

.multimedia-cta h3 {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: #050505;
    padding: 40px 0;
    border-top: 1px solid #1a1a1a;
    font-size: 13px;
    color: #888;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

/* Social Media */
.footer-social {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-social a {
    color: #888;
    transition: all 0.3s;
    font-size: 32px;
    display: inline-block;
}

.footer-social a:hover {
    color: #ccb585;
    transform: scale(1.2);
    background: none;
}

/* Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: #bbb;
    font-size: 12px;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-links .divider {
    color: #444;
    font-size: 10px;
}

.footer-links .highlight {
    font-weight: 700;
    color: #fff;
}

/* Age Rating */
.age-rating {
    margin: 10px 0;
}

.rating-box {
    display: inline-block;
    background-color: #e4ad21;
    color: #fff;
    font-weight: 800;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 26px;
    line-height: 1;
}

/* Language Selector */
.language-selector {
    margin-bottom: 10px;
}

.lang-btn {
    background: none;
    border: 1px solid #333;
    color: #999;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: #ccb585;
    color: #ccb585;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    margin-top: 10px;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pa-logo-text {
    font-weight: 700;
    color: #fff;
    font-family: 'Cinzel', serif;
}

.region-selector span {
    color: #555;
    font-size: 11px;
}

/* =========================================
   Side Widget
   ========================================= */
.side-widget-container {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 990;
}

.side-widget-collapsed {
    background-color: #ccb585;
    color: #000;
    width: 40px;
    padding: 15px 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.side-widget-collapsed:hover {
    background-color: #fff;
    color: #000;
    width: 50px;
    padding-right: 15px; /* Adjust for expansion */
    transform: translateX(-5px); /* Move slightly left */
}

.side-widget-collapsed span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}

.side-widget-expanded {
    display: none;
    background-color: #111;
    border: 1px solid #ccb585;
    width: 300px;
    position: relative;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
}

.close-widget {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.widget-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.widget-body {
    padding: 20px;
    text-align: center;
}

.widget-body h3 {
    color: #ccb585;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
}

.btn-widget {
    display: block;
    background-color: #5865F2; /* Discord Color */
    color: #fff;
    padding: 10px;
    border-radius: 3px;
    font-weight: 700;
}

.btn-widget:hover {
    background-color: #4752c4;
}

/* =========================================
   Inner Page Header (Hero Small)
   ========================================= */
.hero-small {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
    background-color: #000;
    margin-bottom: 60px;
    text-align: center;
}

.hero-small::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/bgheadernew.png') center 30%/cover no-repeat;
    z-index: 0;
    filter: brightness(0.6);
}

.hero-small .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-small-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    max-height: 80px;
    width: auto;
    animation: floatGlowSmall 4s ease-in-out infinite;
}

@keyframes floatGlowSmall {
    0%, 100% {
        transform: translateY(-50%);
        filter: drop-shadow(0 5px 15px rgba(204, 181, 133, 0.2));
    }
    50% {
        transform: translateY(calc(-50% - 10px));
        filter: drop-shadow(0 25px 30px rgba(204, 181, 133, 0.5)) brightness(1.1);
    }
}

.hero-small h2 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    color: #ccb585;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    margin: 0 0 10px 0;
}

.hero-small p {
    color: #ccc;
    font-size: 16px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    max-width: 600px;
}

@media (max-width: 768px) {
    .hero-small-logo {
        position: static;
        transform: none;
        margin-bottom: 15px;
        height: 60px;
        animation: floatGlow 4s ease-in-out infinite;
    }
}

/* Mobile Menu Toggle - Default Hidden */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    /* Header & Navigation */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 280px; /* Drawer width */
        height: 100vh;
        background-color: #000;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        border-left: 1px solid #333;
        left: auto; /* Override left: 50% */
        transform: none; /* Override translate */
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav > ul {
        flex-direction: column;
        height: auto;
        width: 100%;
        gap: 0;
    }

    .main-nav > ul > li {
        width: 100%;
        height: auto;
        border-bottom: 1px solid #1a1a1a;
    }

    .main-nav > ul > li > a {
        padding: 15px 20px;
        width: 100%;
        justify-content: flex-start;
        font-size: 16px;
    }
    
    .main-nav > ul > li > a::after {
        display: none; /* Remove underline effect on mobile */
    }

    /* Submenu on Mobile */
    .submenu {
        position: static;
        transform: none;
        background-color: #111;
        box-shadow: none;
        border-top: none;
        display: none; /* Keep hidden until clicked/hovered */
        width: 100%;
        padding-left: 20px;
        min-width: auto;
    }
    
    .has-submenu:hover .submenu {
        display: flex;
    }

    .header-right {
        display: none; /* Hide right side buttons/icons on mobile to save space */
    }
    
    /* Hero Section - Mobile Adjustment */
    .hero {
        justify-content: center;
        text-align: center;
        padding-left: 20px; /* Reset padding */
        padding-right: 20px;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-logo {
        margin-left: auto; /* Center logo */
        margin-right: auto;
        max-width: 80%;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    .hero h2 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 16px;
    }

    /* Sections */
    .features-grid, .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom, .copyright {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links .divider {
        display: none;
    }
    
    /* Side Widget */
    .side-widget-container {
        display: none; /* Hide on mobile */
    }
}
