:root {
    --gold: #FFC107;
    --amber: #FF8F00;
    --glow: rgba(255, 193, 7, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* --- KAWAII GRID THEME --- */
body {
    /* Soft Kawaii Yellow Background */
    background-color: #FFF9E3; 
    
    /* Creating the Lite Grey Grid Line */
    background-image: 
        linear-gradient(rgba(200, 200, 200, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 200, 200, 0.2) 1px, transparent 1px);
    
    /* This controls the size of the grid squares (25px is standard kawaii style) */
    background-size: 25px 25px; 
    
    font-family: 'Poppins', sans-serif;
    color: #4A4A4A; /* Darker grey text for readability on light yellow */
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
}

.background-overlay {
    /* We change this to a soft vignette so it doesn't hide your new grid */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Moving & Glowing Bee */
#floating-bee {
    position: fixed;
    width: 80px;
    z-index: 999;
    pointer-events: none;
    filter: drop-shadow(0 0 15px var(--honey-yellow));
    transition: transform 0.1s ease-out;
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-area img { width: 40px; transition: 0.3s; }
.logo-area:hover img { filter: drop-shadow(0 0 10px var(--gold)); }
.logo-area span { font-family: 'Chewy', cursive; font-size: 1.8rem; color: var(--gold); }

.nav-links a {
    text-decoration: none;
    color: white;
    margin-left: 20px;
    font-family: 'Chewy', cursive;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--gold); text-shadow: 0 0 10px var(--gold); }

/* --- HERO SECTION --- */
.hero {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 60px 5%;
    min-height: 80vh;
}

.hero-text { max-width: 600px;}

.badge {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: 'Chewy', cursive;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 20px;
}

h1 { font-family: 'Chewy', cursive; font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
.accent { color: var(--gold); text-shadow: 0 0 20px rgba(255, 193, 7, 0.4); }

p { font-family: 'Chewy', cursive; font-size: 1.1rem; color: #ccc; margin-bottom: 40px; }

/* --- KAWAII PILL BUTTONS --- */
.button-row { 
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap; 
    align-items: center; 
    margin-top: 30px;
}

/* Common Pill Shape Base */
.main-button, .alt-button {
    font-family: 'Chewy', cursive;
    font-size: 1.5rem;
    padding: 12px 40px;
    border-radius: 50px; /* This creates the Pill shape */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

/* Yellow Pill (Add to Discord) */
.main-button {
    background: #FFC107;
    color: #000;
    border: 4px solid #FFC107; /* Thick border for "bubbly" feel */
    box-shadow: 0 6px 0px rgba(184, 134, 11, 0.2); /* Soft bottom shadow */
}

.main-button i {
    font-size: 1.8rem;
}

.main-button:hover {
    transform: scale(1.05) translateY(-5px);
    background: #FFD54F;
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

/* White/Transparent Pill (Docs) */
.alt-button {
    background: #FFFFFF;
    color: #ECECEC; /* Very light grey/white text as seen in your image */
    border: 3px solid #F0F0F0; /* Soft light border */
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.alt-button span {
    color: #FFFFFF; /* Matches the white text in your screenshot */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
    -webkit-text-stroke: 1px #F0F0F0; /* Subtle outline to make white text visible on white bg */
}

/* Scroll Image inside Button */
.btn-scroll {
    width: 35px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.alt-button:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: #FFC107;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.alt-button:hover .btn-scroll {
    transform: rotate(15deg);
}

/* Ensuring text readability on the grid */
h1 { color: #4A4A4A; }
p { color: #666; }

/* --- HEXAGON IMAGE --- */
.hex-container {
    width: 300px;
    height: 300px;
    background: rgba(255, 193, 7, 0.05);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    border: 3px solid var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.hex-container:hover {
    box-shadow: 0 0 30px var(--glow);
    background: rgba(255, 193, 7, 0.15);
}

.hex-container img { width: 70%; }

/* --- FEATURES GRID --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 10%;
}

.feature-card {
    background: #FFFFFF;
    border: 5px solid #FDF6E3; /* Soft Kawaii Border */
    border-radius: 40px; /* Bubbly Pill Style */
    padding: 40px 25px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 0px #F0EAD6; /* Sticker depth */
}

.feature-card:hover {
    transform: scale(1.05) rotate(-2deg);
    border-color: #FFC107;
}

/* Feature Image Scaling */
.feature-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Chewy', cursive;
    font-size: 1.8rem;
    color: #EBA937; /* Matches Theme Color */
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #5A5A5A;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.4;
}

/* Honey Bullet Point */
.feature-list li::before {
    content: '🍯';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .features-grid { padding: 40px 5%; }
}
/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    h1 { font-size: 4rem; }
    .hex-container { width: 250px; height: 250px; }
}

@media (max-width: 768px) {
    body { overflow-y: auto; }
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 40px;
    }
    .hero-text { text-align: center; }
    .button-row { justify-content: center; }
    h1 { font-size: 3rem; }
    nav { flex-direction: column; gap: 15px; }
    .nav-links { margin-left: 0; }
    .hex-container { width: 200px; height: 200px; }
    #wandering-bee { width: 35px; }
}