/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset en basis styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0066ff;
    --dark-bg: #0a0a0a;
    --light-bg: #1a1a1a;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --discord-color: #5865F2;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.discord-btn {
    background: var(--discord-color);
    padding: 10px 20px;
    border-radius: 5px;
    color: white !important;
}

.discord-btn::after {
    display: none;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
}

.hero-content h4 {
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 400;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 8px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s both;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--light-bg) 100%);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 10px 0;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    letter-spacing: 3px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-discord {
    background: var(--discord-color);
    color: white;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.btn-social {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-social:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 60px;
    font-size: 1.2rem;
}

.btn-small {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Server Info Section */
.server-info {
    padding: 100px 0;
    background: var(--dark-bg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.info-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.3);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 2rem;
    color: white;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.info-card code {
    background: rgba(0, 212, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    display: block;
    margin: 10px 0;
}

/* Discord Section */
.discord-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.discord-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.discord-widget {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    min-height: 500px;
}

.discord-widget iframe {
    display: block;
}

.discord-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.discord-widget:has(iframe[src=""]) .discord-fallback,
.discord-widget iframe:not([src])~.discord-fallback {
    opacity: 1;
    pointer-events: all;
}

.discord-fallback i {
    font-size: 4rem;
    color: var(--discord-color);
    margin-bottom: 20px;
}

.discord-fallback h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.discord-fallback p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.discord-fallback ol {
    text-align: left;
    color: var(--text-secondary);
    margin-bottom: 30px;
    padding-left: 20px;
}

.discord-fallback ol li {
    margin-bottom: 10px;
}

.discord-fallback .btn {
    pointer-events: all;
}

.discord-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.discord-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.discord-benefits {
    list-style: none;
    margin-bottom: 30px;
}

.discord-benefits li {
    padding: 15px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.discord-benefits li:last-child {
    border-bottom: none;
}

.discord-benefits i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Links Section */
.links {
    padding: 100px 0;
    background: var(--dark-bg);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.link-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.2);
    opacity: 0;
    transform: translateY(30px);
}

.link-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.link-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.link-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.link-card:hover img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.card-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-content .btn {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta .btn-large {
    background: var(--dark-bg);
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.cta .btn-large:hover {
    background: var(--light-bg);
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    padding: 60px 0 20px;
    background: var(--dark-bg);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

/* FiveM Server Status Widget */
.fivem-status-section {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.fivem-widget {
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-status-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 102, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.server-status-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 30px 80px rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.status-header h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.status-dot.online {
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

.status-dot.offline {
    background: #ff4444;
    box-shadow: 0 0 10px #ff4444;
    animation: none;
}

.status-dot.loading {
    background: var(--primary-color);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 10px currentColor;
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 5px currentColor;
    }
}

#serverStatusText {
    color: var(--primary-color);
}

.status-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.status-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.status-stat:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-3px);
}

.status-stat i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.server-ip {
    font-size: 1rem !important;
    font-family: 'Courier New', monospace;
}

.players-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0066ff);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.btn-join-server {
    width: 100%;
    padding: 16px 30px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 3px;
    }

    .about-content,
    .discord-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .status-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .server-status-card {
        padding: 25px;
    }

    .status-header h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-content h4 {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

/* ========================================
   APV Specific Styles
   ======================================== */

/* APV Header */
.apv-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 3px solid #00d4ff;
    margin-top: 80px;
}

.apv-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.apv-header .subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    color: #00d4ff;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid #00d4ff;
    border-radius: 5px;
}

.back-link:hover {
    background: #00d4ff;
    color: #0a0a0a;
    transform: translateX(-5px);
}

/* Main Content */
.apv-content {
    background: #0a0a0a;
    padding: 2rem 0;
    min-height: 100vh;
}

/* Important Notice */
.important-notice {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    padding: 1.2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 5px solid #ff0000;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.important-notice p {
    color: #ffffff;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Rule Articles */
.rule-article {
    background: #1a1a1a;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 5px solid #00d4ff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.rule-article:hover {
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

/* Toggle Button */
.rule-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.rule-toggle:hover {
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
}

.rule-toggle h2 {
    color: #00d4ff;
    font-size: 1.3rem;
    margin: 0;
    padding: 0;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #00d4ff;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: right;
}

/* Collapsed content */
.rule-content {
    max-height: 10000px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.rule-article.collapsed .rule-content {
    max-height: 0;
    padding: 0 1.5rem;
}

.rule-article.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.rule-article h2 {
    color: #00d4ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rule-article h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 1rem 0 0.7rem;
    font-weight: 600;
}

.rule-article p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.rule-article ul {
    list-style: none;
    padding-left: 0;
    margin: 0.7rem 0;
}

.rule-article ul li {
    color: #cccccc;
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
    line-height: 1.5;
    font-size: 0.95rem;
}

.rule-article ul li:before {
    content: "▸";
    color: #00d4ff;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* Punishment Section */
.punishment {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 2px solid #ff4444;
}

.punishment strong {
    color: #ff4444;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.punishment ul {
    margin-top: 0.3rem;
}

.punishment ul li {
    color: #ffcccc;
    padding: 0.2rem 0 0.2rem 1.5rem;
    font-size: 0.95rem;
}

.punishment ul li:before {
    content: "⚠";
    color: #ff4444;
    font-size: 1.1rem;
}

/* Note Section */
.note {
    background: #2a2a2a;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border-left: 4px solid #ffaa00;
    margin: 0.8rem 0;
    font-style: italic;
    font-size: 0.95rem;
}

.note strong {
    color: #ffaa00;
}

/* APV Footer Adjustments */
.apv-footer {
    background: #0a0a0a;
    border-top: 3px solid #00d4ff;
}

.footer-link {
    display: inline-block;
    color: #00d4ff;
    text-decoration: none;
    margin-left: 2rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* APV Selection Color */
::selection {
    background: #00d4ff;
    color: #0a0a0a;
}

::-moz-selection {
    background: #00d4ff;
    color: #0a0a0a;
}

/* APV Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00a8cc;
}

/* APV Responsive Design */
@media (max-width: 768px) {
    .apv-header {
        padding: 2rem 0 1.5rem;
    }

    .apv-header h1 {
        font-size: 1.8rem;
    }

    .apv-header .subtitle {
        font-size: 0.9rem;
    }

    .rule-toggle {
        padding: 1rem 1rem;
    }

    .rule-article h2 {
        font-size: 1.1rem;
    }

    .rule-article h3 {
        font-size: 1rem;
    }

    .rule-article p,
    .rule-article ul li {
        font-size: 0.9rem;
    }

    .punishment {
        padding: 0.8rem 1rem;
    }

    .footer-link {
        display: block;
        margin: 1rem 0 0 0;
    }
}

@media (max-width: 480px) {
    .apv-header h1 {
        font-size: 1.3rem;
    }

    .rule-toggle {
        padding: 0.8rem 1rem;
    }

    .rule-article h2 {
        font-size: 1rem;
    }

    .back-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}