:root {
    --primary-color: #39ff14;
    /* Neon Green */
    --bg-color: #050505;
    /* Black */
    --text-color: #ffffff;
    --card-bg: #1a1a1a;
    --danger-color: #ff3939;
    --secondary-color: #0bffbf;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--primary-color);
    }

    50% {
        box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--secondary-color);
    }

    100% {
        box-shadow: 0 0 5px var(--primary-color);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Header */
header {
    background: rgba(26, 26, 26, 0.9);
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
    letter-spacing: 1px;
}

.nav-links li {
    display: inline;
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

/* Mobile Menu Styles */
.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
}

.mobile-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 10px;
    width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.mobile-dropdown.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.mobile-dropdown a {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.mobile-dropdown a:hover {
    background: #333;
    color: var(--primary-color);
}

.mobile-dropdown i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.1) 0%, transparent 50%);
    animation: pulse 10s infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 900;
    background: linear-gradient(to right, #fff, var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #ccc;
}

.cta-btn {
    display: inline-block;
    padding: 20px 50px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    background: var(--primary-color);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: glow 3s infinite;
}

.cta-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 0 40px var(--primary-color);
    color: #000;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #0a0a0a;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #151515;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* General Buttons */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #000;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    box-shadow: 0 0 15px var(--primary-color);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger-color);
    color: #fff;
}

.btn-danger:hover {
    box-shadow: 0 0 15px var(--danger-color);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: #252525;
    border: 1px solid #444;
    color: #fff;
    border-radius: 8px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
    background: #333;
}

/* Cards */
.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    margin-top: 100px;
    /* Spacer for fixed header */
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    color: #fff;
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.table th {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Video Containers */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 100px auto 20px;
    /* Spacer for header */
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
}

video {
    width: 100%;
    display: block;
}

.local-video {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 150px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

/* Host Grid Container */
.host-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Mobile Header Updates */
    .nav-links {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    /* Grids */
    .grid,
    .feature-grid,
    .shop-grid,
    #hostGrid {
        grid-template-columns: 1fr !important;
    }

    /* Video Containers */
    .video-container {
        margin-top: 80px;
        border-width: 2px;
    }

    .local-video {
        width: 100px;
        bottom: 10px;
        right: 10px;
        border-width: 1px;
    }

    /* Cards & Glass Effects */
    .card,
    .glass-card,
    .feature-card,
    .shop-card {
        padding: 20px;
        margin-top: 20px;
    }

    .card {
        margin-top: 80px;
        /* Header spacing */
    }

    /* Forms */
    .form-control {
        font-size: 16px;
        /* Prevent zoom on iOS */
        padding: 12px;
    }

    .btn,
    .cta-btn {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        padding: 15px;
    }

    /* Tables */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table th,
    .table td {
        padding: 10px;
        font-size: 0.9rem;
    }

    /* Typography */
    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}