/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background: #0a0a0a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.loading-logo {
    margin-bottom: 2rem;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: #0cf703;
    text-shadow: 0 0 20px #0cf703;
    display: block;
    animation: glow 2s ease-in-out infinite alternate;
}

.logo-end {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #f7ae03;
    text-shadow: 0 0 15px #f7ae03;
    display: block;
    animation: glow 2s ease-in-out infinite alternate 0.5s;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #0cf703, #f7ae03, #fb0404);
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out infinite;
}

.loading-text {
    color: #888;
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

/* ===== INTRO VIDEO ===== */
.intro-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background: #000;
}

.intro-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.intro-content {
    color: white;
    animation: fadeInUp 1s ease-out;
}

.intro-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(12, 247, 3, 0.8);
    animation: glow 2s ease-in-out infinite alternate;
}

.intro-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.skip-btn {
    background: rgba(12, 247, 3, 0.2);
    border: 2px solid #0cf703;
    color: #0cf703;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.skip-btn:hover {
    background: #0cf703;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(12, 247, 3, 0.3);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(12, 247, 3, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: #0cf703;
    text-decoration: none;
    text-shadow: 0 0 10px #0cf703;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-dayz {
    color: #0cf703;
    text-shadow: 0 0 10px #0cf703;
}

.logo-end {
    color: #f7ae03;
    text-shadow: 0 0 10px #f7ae03;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #0cf703;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0cf703;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-billboard {
    margin-bottom: 3rem;
}

.billboard-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.billboard-word {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
    text-shadow: 0 0 20px currentColor;
}

.billboard-word:nth-child(1) { animation-delay: 0.2s; color: #f7ae03; }
.billboard-word:nth-child(2) { animation-delay: 0.4s; color: #0cf703; }
.billboard-word:nth-child(3) { animation-delay: 0.6s; color: #fb0404; }

.hero-tagline {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0cf703, #0a8f02);
    color: #000;
    box-shadow: 0 4px 15px rgba(12, 247, 3, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(12, 247, 3, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #f0f0f0;
    border: 2px solid #f0f0f0;
}

.btn-secondary:hover {
    background: #f0f0f0;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 240, 240, 0.3);
}

/* ===== CONTENT SECTIONS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(12, 247, 3, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0cf703, #f7ae03, #fb0404);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(12, 247, 3, 0.3);
}

.card h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #0cf703;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(12, 247, 3, 0.5);
}

.card p {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.card ul, .card ol {
    color: #ccc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.card li {
    margin-bottom: 0.5rem;
}

/* ===== ACTIVITIES GRID ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Activity Cards */
.activity-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.activity-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.activity-image img,
.activity-image .hover-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Hover Video Styles */
.hover-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    cursor: pointer;
}

.activity-card:hover .hover-video {
    transform: scale(1.05);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.activity-card:hover img {
    transform: scale(1.05);
}

.activity-card h3 {
    color: #0cf703;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.activity-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border-top: 1px solid rgba(12, 247, 3, 0.2);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0cf703;
}

.footer-bottom {
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 1rem;
    }
    
    .billboard-word {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .card {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .header-content {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .billboard-word {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
    
    .intro-title {
        font-size: 2.5rem;
    }
    
    .intro-subtitle {
        font-size: 1.2rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px currentColor;
    }
    to {
        text-shadow: 0 0 30px currentColor, 0 0 40px currentColor;
    }
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #0cf703;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a8f02;
}

/* ===== SELECTION STYLING ===== */
::selection {
    background: rgba(12, 247, 3, 0.3);
    color: #f0f0f0;
}

::-moz-selection {
    background: rgba(12, 247, 3, 0.3);
    color: #f0f0f0;
}

/* ===== ADDITIONAL COMPONENT STYLES ===== */

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(12, 247, 3, 0.1);
    border: 1px solid rgba(12, 247, 3, 0.3);
    border-radius: 6px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0cf703;
    animation: pulse 2s ease-in-out infinite;
}

.status-text {
    font-size: 0.9rem;
    color: #0cf703;
    font-weight: 600;
}

.discord-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #5865f2;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #f0f0f0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(12, 247, 3, 0.2);
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mobile-nav a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #0cf703;
}

.mobile-actions {
    display: flex;
    justify-content: center;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0 2rem;
    background: rgba(0, 0, 0, 0.3);
    margin: 2rem 0;
    border-radius: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(12, 247, 3, 0.1), rgba(247, 174, 3, 0.1));
    border: 1px solid rgba(12, 247, 3, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 247, 3, 0.05), rgba(247, 174, 3, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(12, 247, 3, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #0cf703;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(12, 247, 3, 0.5);
}

.stat-label {
    color: #ccc;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Map Link Styling */
.map-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.map-link:hover {
    transform: scale(1.05);
}

.map-link:hover .stat-number {
    color: #f7ae03;
    text-shadow: 0 0 20px rgba(247, 174, 3, 0.7);
}

.map-link:hover .stat-label {
    color: #f7ae03;
}

.stat-card:hover .map-link {
    cursor: pointer;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-accent {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0cf703, #f7ae03, #fb0404);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.lead-text {
    font-size: 1.2rem;
    color: #ccc;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Feature Highlights */
.feature-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.2rem;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(12, 247, 3, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.news-item.featured {
    border-color: rgba(247, 174, 3, 0.3);
    background: rgba(247, 174, 3, 0.05);
}

.news-item:hover {
    transform: translateY(-5px);
    border-color: rgba(12, 247, 3, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.news-date {
    color: #0cf703;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-item h3 {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.news-item p {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(12, 247, 3, 0.2);
    color: #0cf703;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0cf703, #0a8f02);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: #0cf703;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: #ccc;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    margin-top: 2rem;
}

/* Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.rule-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(12, 247, 3, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    transform: translateY(-5px);
    border-color: rgba(12, 247, 3, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.rule-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.rule-item h3 {
    color: #0cf703;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.rule-item p {
    color: #ccc;
    line-height: 1.6;
}

.rules-note {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.rules-note a {
    color: #0cf703;
    text-decoration: none;
}

.rules-note a:hover {
    text-decoration: underline;
}

/* Activity Cards Enhanced */
.activity-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.activity-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(12, 247, 3, 0.9);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.activity-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.feature-tag {
    background: rgba(12, 247, 3, 0.1);
    color: #0cf703;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Perks Grid */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.perk-item {
    text-align: center;
    padding: 2rem;
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(12, 247, 3, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.perk-item:hover {
    transform: translateY(-8px);
    border-color: rgba(12, 247, 3, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.perk-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.perk-item h3 {
    color: #0cf703;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.perk-item p {
    color: #ccc;
    line-height: 1.6;
}

.perks-cta {
    text-align: center;
}

.perks-note {
    color: #888;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Connect Grid */
.connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.connect-item {
    text-align: center;
    padding: 2rem;
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(12, 247, 3, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.connect-item:hover {
    transform: translateY(-5px);
    border-color: rgba(12, 247, 3, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.connect-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.connect-item h3 {
    color: #0cf703;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.connect-item p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.server-details {
    text-align: left;
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
    color: #888;
    font-size: 0.9rem;
}

.info-value {
    color: #0cf703;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0cf703;
    animation: pulse 2s ease-in-out infinite;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.online {
    background: rgba(12, 247, 3, 0.2);
    color: #0cf703;
}

/* Footer Enhanced */
.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #0cf703;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(12, 247, 3, 0.5);
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-subtitle {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0cf703;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0cf703;
    color: #000;
    transform: translateY(-3px);
}

.social-link.discord:hover {
    background: #5865f2;
    color: white;
}

.social-link.steam:hover {
    background: #171a21;
    color: white;
}

.social-link.youtube:hover {
    background: #ff0000;
    color: white;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #0cf703;
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.revealed {
    animation: fadeIn 1s ease-out forwards;
}

.focused {
    outline: 2px solid #0cf703;
    outline-offset: 2px;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    /* Header and Navigation */
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 2rem 1rem;
        min-height: 60vh;
    }
    
    .hero-content {
        text-align: center;
        padding: 1rem;
    }
    
    .hero-billboard {
        margin-bottom: 2rem;
    }
    
    .billboard-text {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Container and Layout */
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Feature Highlights */
    .feature-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .feature-card {
        width: 100%;
        max-width: 400px;
    }
    
    /* News Grid */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card {
        padding: 1.5rem;
    }
    
    /* Steps Container */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    /* Rules Grid */
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .rule-card {
        padding: 1rem;
    }
    
    /* Perks Grid */
    .perks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .perk-card {
        padding: 1.5rem;
    }
    
    /* Connect Grid */
    .connect-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .connect-card {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    /* Text Sizes */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .container {
        padding: 0 0.5rem;
    }
    
    .section {
        padding: 1.5rem 0;
    }
    
    .hero {
        padding: 1.5rem 0.5rem;
        min-height: 50vh;
    }
    
    .billboard-text {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .news-card,
    .step-card,
    .perk-card,
    .connect-card {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    p {
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
}

.server-info .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.server-info .info-item:last-child {
    border-bottom: none;
}

/* Server Actions Styling */
.server-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(12, 247, 3, 0.3);
}

.steam-connect-btn,
.steam-info-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.steam-connect-btn {
    background: linear-gradient(135deg, #0cf703, #0a8f02);
    color: #000;
    border: 1px solid #0cf703;
}

.steam-connect-btn:hover {
    background: linear-gradient(135deg, #0a8f02, #0cf703);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 247, 3, 0.4);
}

.steam-info-btn {
    background: linear-gradient(135deg, #2a003f, #7a001a);
    color: #fff;
    border: 1px solid #2a003f;
}

.steam-info-btn:hover {
    background: linear-gradient(135deg, #7a001a, #2a003f);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 0, 63, 0.4);
}

.steam-connect-btn svg,
.steam-info-btn svg {
    width: 18px;
    height: 18px;
}

.steam-connect-main {
    background: linear-gradient(135deg, #0cf703, #0a8f02) !important;
    color: #000 !important;
    border: 1px solid #0cf703 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.steam-connect-main:hover {
    background: linear-gradient(135deg, #0a8f02, #0cf703) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(12, 247, 3, 0.4) !important;
}

.steam-connect-main svg {
    width: 18px;
    height: 18px;
}

/* Donation Section */
.donation-cta {
    background: linear-gradient(135deg, rgba(42, 0, 63, 0.9), rgba(122, 0, 26, 0.9));
    border-radius: 16px;
    padding: 32px;
    margin-top: 32px;
    text-align: center;
    border: 2px solid rgba(247, 174, 3, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.donation-message {
    margin-bottom: 24px;
}

.donation-message p {
    color: #f0f0f0;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 16px;
}

.donation-message strong {
    color: #f7ae03;
    text-shadow: 0 0 8px rgba(247, 174, 3, 0.5);
}

.donation-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.donation-form form {
    display: inline-block;
}

.donation-form input[type="image"] {
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.donation-form input[type="image"]:hover {
    transform: scale(1.05);
    filter: brightness(1.1) drop-shadow(0 0 12px rgba(247, 174, 3, 0.6));
}



/* Responsive design for donation section */
@media (max-width: 768px) {
    .donation-cta {
        padding: 24px 20px;
        margin-top: 24px;
    }
    
    .donation-message p {
        font-size: 1em;
    }
    
    .donation-form input[type="image"] {
        transform: scale(0.9);
    }
    
    .donation-form input[type="image"]:hover {
        transform: scale(0.95);
    }
}

/* DayZ Compliance Notice */
.compliance-notice {
    background: linear-gradient(135deg, rgba(0, 100, 0, 0.9), rgba(0, 150, 0, 0.9));
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    border: 2px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 4px 16px rgba(0, 255, 0, 0.2);
}

.compliance-notice h4 {
    color: #00ff00;
    font-size: 1.3em;
    margin-bottom: 16px;
    text-align: center;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

.compliance-notice p {
    color: #f0f0f0;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: center;
}

.compliance-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compliance-notice li {
    color: #f0f0f0;
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    border-left: 3px solid #00ff00;
}

.compliance-notice li:last-child {
    margin-bottom: 0;
}

/* Responsive design for compliance notice */
@media (max-width: 768px) {
    .compliance-notice {
        padding: 20px 16px;
        margin: 20px 0;
    }
    
    .compliance-notice h4 {
        font-size: 1.2em;
    }
    
    .compliance-notice p {
        font-size: 1em;
    }
    
    .compliance-notice li {
        font-size: 0.95em;
        padding: 6px 10px;
    }
}

/* Additional Mobile Fixes */
@media (max-width: 768px) {
    /* Prevent horizontal scrolling */
    * {
        max-width: 100%;
    }
    
    /* Fix touch targets */
    .btn, button, a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Fix form elements */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Fix video responsiveness */
    video {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix image responsiveness */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix table responsiveness */
    table {
        width: 100%;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    /* Fix flexbox issues */
    .flex {
        flex-wrap: wrap;
    }
    
    /* Fix grid issues */
    .grid {
        grid-template-columns: 1fr;
    }
    
    /* Fix text overflow */
    .text-overflow {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* Fix modal and overlay issues */
    .modal, .overlay {
        padding: 1rem;
    }
    
    /* Fix navigation issues */
    .nav {
        flex-direction: column;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
}
