/* lunch.day — McBling hexagonal honeycomb */
/* Colors: #1A1A1A, #333333, #C0C0C0, #E8E8E8, #E8A0BF, #FF69B4, #FF8DC7, #FFD700 */
/* Fonts: Nunito Sans, Inter, Lora */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Starburst */
.starburst {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: none;
}

.starburst.hidden {
    display: none;
}

.ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, #FFFFFF, transparent);
    transform-origin: top center;
    transform: translate(-50%, 0) rotate(var(--angle));
    animation: ray-burst 0.8s ease-out forwards;
}

@keyframes ray-burst {
    0% { height: 0; opacity: 1; }
    50% { height: 200px; opacity: 0.8; }
    100% { height: 300px; opacity: 0; }
}

/* Glitter layer */
.glitter-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 15;
}

.glitter-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #FFD700;
    border-radius: 50%;
    animation: glitter-twinkle var(--duration) ease-in-out infinite;
    opacity: 0;
}

@keyframes glitter-twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero.visible {
    opacity: 1;
}

.hero-title {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(180deg, #FFFFFF 0%, #C0C0C0 40%, #FFFFFF 60%, #E8E8E8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    -webkit-text-stroke: 1px #C0C0C0;
    position: relative;
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #FF69B4;
    text-transform: uppercase;
    margin-top: 8px;
}

/* Rhinestone border */
.rhinestone-border {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.rhinestone-border::before,
.rhinestone-border::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #FFFFFF, #C0C0C0);
    transform: rotate(45deg);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
    animation: sparkle-sweep 3s ease-in-out infinite;
}

.rhinestone-border::after {
    animation-delay: -1.5s;
}

@keyframes sparkle-sweep {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; box-shadow: 0 0 8px rgba(255, 215, 0, 0.9); }
}

/* Honeycomb Grid */
.honeycomb-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 24px 80px;
    position: relative;
    z-index: 10;
}

.hex-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: -20px;
}

.hex-row-offset {
    margin-left: 140px;
}

/* Hex Cell */
.hex-cell {
    width: 260px;
    height: 240px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: #E8E8E8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hex-cell.visible {
    opacity: 1;
    transform: scale(1);
}

.hex-cell:hover {
    filter: brightness(1.05);
}

.cell-pink {
    background-color: #FF8DC7;
}

.cell-gold {
    background-color: #FFD700;
}

.hex-inner {
    padding: 30px 20px;
    text-align: center;
    width: 80%;
}

/* Cell Typography */
.cell-title {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.cell-body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.6;
    color: #333333;
}

.cell-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
    color: #FF69B4;
}

.cell-italic {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #E8A0BF;
}

.cell-list {
    list-style: none;
    text-align: left;
}

.cell-list li {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #1A1A1A;
    padding: 3px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.emoji-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 6px;
}

.cell-emoji {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    color: #333333;
    background: rgba(255, 255, 255, 0.5);
    padding: 4px;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .hex-row {
        flex-direction: column;
        align-items: center;
    }

    .hex-row-offset {
        margin-left: 0;
    }

    .hex-cell {
        width: 220px;
        height: 200px;
    }
}
