* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Montserrat', sans-serif; /* Modern sans-serif font */
    background: #101418; /* Very dark background */
    color: #e6eaf3; /* Light grey for general text */
    min-height: 100vh;
    scroll-behavior: smooth; /* Smooth scrolling for nav links */
}

/* Accent colors & Global Variables */
:root {
    --primary-bg: #101418;
    --secondary-bg: #1a202c;
    --accent-blue-light: #00cfff; /* Light blue */
    --accent-blue-dark: #228DFF; /* Deeper blue for globe */
    --accent-green: #00FF88; /* Neon green */
    --text-light: #e6eaf3;
    --text-dark: #101418;
    --card-border: #2c3240;
    --glow-shadow-blue: 0 0 15px rgba(0,207,255,0.6), 0 0 30px rgba(0,207,255,0.4);
    --glow-shadow-green: 0 0 15px rgba(0,255,136,0.6), 0 0 30px rgba(0,255,136,0.4);
}

/* Navigation Bar */
nav {
    background: var(--primary-bg); /* Dark background */
    color: var(--text-light);
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Subtle shadow */
    position: sticky; /* Sticky navigation */
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--card-border); /* Subtle bottom border */
}

.logo {
    font-family: 'Orbitron', sans-serif; /* Futuristic font */
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-blue-light); /* Light blue for logo */
    letter-spacing: 2px;
    text-shadow: var(--glow-shadow-blue); /* Glowing effect */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem 0.7rem 1rem; /* Keep padding for spacing */
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden; /* Important for the ::before to work correctly */
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem; /* Start after left padding */
    width: calc(100% - 2rem); /* Width of the text content area */
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue-light), var(--accent-green));
    transform: scaleX(0); /* Initially invisible */
    transform-origin: center; /* Expand from center */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transitions */
    box-shadow: none; /* No initial shadow */
}

.nav-links a:hover {
    color: var(--accent-blue-light);
    text-shadow: 0 0 8px var(--accent-blue-light);
}

.nav-links a.active {
    color: var(--accent-blue-light); /* Active link text color */
    text-shadow: 0 0 8px var(--accent-blue-light); /* Active link text glow */
}

.nav-links a:hover::before,
.nav-links a.active::before {
    transform: scaleX(1); /* Expand to full width under text */
    box-shadow: 0 0 15px rgba(0,207,255,0.8), 0 0 25px rgba(0,207,255,0.6); /* Stronger glow on hover/active */
}

/* Language Selector */
#lang-select {
    margin-left:1rem;
    border-radius:8px;
    padding:0.3rem 0.7rem;
    background:var(--secondary-bg);
    color:var(--accent-blue-light);
    font-weight:600;
    border:1.5px solid var(--accent-blue-light);
    appearance: none; /* Remove default arrow */
    background-image: url('data:image/svg+xml;utf8,<svg fill="%2300cfff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right .7em top 50%;
    background-size: 1.5em auto;
    cursor: pointer;
}
#lang-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,207,255,0.4);
}

/* Discord Nav Link */
.discord-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: #7289da; /* Discord brand color */
    color: #fff;
    border-radius: 5px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.discord-nav-link:hover {
    background: #5865f2; /* Darker Discord color on hover */
    box-shadow: 0 0 15px rgba(114,137,218,0.6);
}
.discord-nav-link svg circle { fill: #7289da; }
.discord-nav-link:hover svg circle { fill: #5865f2; }


/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--primary-bg); /* Dark background */
    color: var(--text-light);
    min-height: 85vh; /* Increased height for Vanta.js */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    border-bottom: 2px solid var(--card-border);
}

.vanta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; /* Behind content */
    pointer-events: none; /* Allows interaction with content */
}

.hero > *:not(.vanta-overlay) {
    position: relative;
    z-index: 2; /* Content on top of Vanta.js */
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-blue-light);
    text-shadow: var(--glow-shadow-blue);
    animation: text-glow 2s infinite alternate; /* Subtle glowing animation */
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    opacity: 0.8;
}

@keyframes text-glow {
    from { text-shadow: var(--glow-shadow-blue); }
    to { text-shadow: 0 0 20px rgba(0,207,255,0.8), 0 0 40px rgba(0,207,255,0.6); }
}

/* Call to Action Buttons (Hero Section) */
.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.cta-button {
    background: var(--secondary-bg); /* Dark button background */
    color: var(--accent-green); /* Neon green text */
    padding: 1.2rem 2.5rem;
    border: 2px solid var(--accent-green); /* Green border */
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,255,136,0.4); /* Subtle green glow */
}

.cta-button:hover {
    background: var(--accent-green);
    color: var(--primary-bg); /* Dark text on hover */
    box-shadow: 0 0 20px rgba(0,255,136,0.8); /* Stronger glow */
    transform: translateY(-3px) scale(1.02);
}

/* Glow-on-hover effect for buttons */
.glow-on-hover {
    position: relative;
    z-index: 1;
}

.glow-on-hover::before {
    content: '';
    background: linear-gradient(45deg, #00cfff, #00ff88, #00cfff);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary-bg);
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}


/* Game Bot Offerings Section */
.bot-offerings-section {
    padding: 4rem 2rem;
    background: var(--primary-bg);
}

.bot-tabs-content {
    max-width: 1200px;
    margin: 0 auto;
}

.bot-tab-group {
    margin-bottom: 4rem; /* Space between bot categories */
}

.bot-tab-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-blue-light);
    text-shadow: var(--glow-shadow-blue);
    border-bottom: 2px solid var(--card-border);
    padding-bottom: 1rem;
    animation: text-glow 2s infinite alternate; /* Match hero title glow */
}

.bot-offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem; /* Increased gap for better separation */
    justify-content: center; /* Center cards in the grid */
    align-items: stretch; /* Make cards stretch to equal height */
}

.bot-offer-card {
    background: var(--secondary-bg); /* Darker card background */
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 5px 20px rgba(0,0,0,0.6); /* Deeper shadow */
    border: 1.5px solid var(--card-border);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    min-height: 380px; /* Increased min-height for consistent layout */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bot-offer-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0,207,255,0.4);
    border-color: var(--accent-blue-light);
}

.bot-offer-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--accent-blue-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: var(--glow-shadow-blue);
}

.bot-offer-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem 0;
    width: 100%;
    flex-grow: 1; /* Allows features list to take available space */
}

.bot-offer-features li {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2em; /* Space for custom checkmark */
    display: flex;
    align-items: center;
}

.feature-icon {
    color: var(--accent-green);
    position: absolute;
    left: 0;
    font-size: 1.3em; /* Larger checkmark */
    line-height: 1;
}

.bot-offer-note {
    color: #b0b8c9;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    opacity: 0.7;
}

.bot-offer-meta {
    font-size: 1.6rem;
    font-weight: bold;
    margin-top: auto; /* Pushes price and button to bottom */
    margin-bottom: 1.5rem;
    width: 100%;
    text-align: center;
}

.bot-offer-meta.price-free {
    color: var(--accent-green); /* Green for FREE */
    text-shadow: 0 0 8px rgba(0,255,136,0.6);
}

.bot-offer-meta.price-paid {
    color: var(--accent-blue-light); /* Blue for paid prices */
    text-shadow: 0 0 8px rgba(0,207,255,0.6);
}

.buy-button {
    background: linear-gradient(90deg, var(--accent-blue-light) 0%, var(--accent-green) 100%);
    color: var(--text-light);
    border: 2px solid transparent; /* Added a transparent border for hover effect */
    border-image: linear-gradient(90deg, var(--accent-blue-light), var(--accent-green)) 1;
    border-radius: 10px;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease; /* Adjusted for smoother transitions */
    box-shadow: 0 0 10px rgba(0,207,255,0.6); /* Enhanced initial glow */
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-button:hover {
    background: var(--primary-bg); /* Darker background on hover */
    color: var(--accent-green); /* Green text on hover */
    border-image: none;
    border-color: var(--accent-green); /* Green border on hover */
    box-shadow: 0 0 25px rgba(0,255,136,0.8), 0 0 40px rgba(0,255,136,0.5); /* Stronger green glow */
    transform: translateY(-3px) scale(1.01);
}

/* Specific Card Styles for accent colors */
.card-playpixels { border-color: var(--accent-blue-light); }
.card-playpixels .bot-offer-title { color: var(--accent-blue-light); }
.card-playpixels .buy-button { background: linear-gradient(90deg, #00cfff 0%, #00ff99 100%); }

.card-sunflowerland { border-color: #ffe066; } /* Yellowish accent */
.card-sunflowerland .bot-offer-title { color: #ffe066; }
.card-sunflowerland .buy-button { background: linear-gradient(90deg, #ffe066 0%, #ff9900 100%); }

.card-fishingfrenzy { border-color: #00ffa3; } /* Lighter green accent */
.card-fishingfrenzy .bot-offer-title { color: #00ffa3; }
.card-fishingfrenzy .buy-button { background: linear-gradient(90deg, #00ffa3 0%, #00cfff 100%); }

.card-pixeldungeon { border-color: var(--accent-orange); } /* Orange accent */
.card-pixeldungeon .bot-offer-title { color: var(--accent-orange); }
.card-pixeldungeon .buy-button { background: linear-gradient(90deg, var(--accent-orange) 0%, #ffcc00 100%); }


/* Footer */
footer {
    background: var(--secondary-bg); /* Darker background for footer */
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
    border-top: 2px solid var(--card-border); /* Subtle top border */
}

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

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.2rem;
    color: var(--accent-blue-light);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 0.5rem;
}

.footer-section p, .footer-section ul, .footer-section li {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

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

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: var(--accent-green); /* Green links */
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 500;
}
.footer-section a:hover {
    color: var(--accent-blue-light);
    text-shadow: 0 0 8px rgba(0,207,255,0.6);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    color: #b0b8c9;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1rem;
        gap: 1rem;
    }
    .logo {
        font-size: 1.5rem;
        padding: 0.8rem 1.2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    .cta-button {
        width: 80%; /* Make buttons wider on small screens */
        margin: 0 auto;
    }
    .bot-tab-label {
        font-size: 2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-section h3 {
        padding-bottom: 0.2rem;
    margin-bottom: 1rem;
    }
}
