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

        body {
            font-family: 'Patrick Hand', cursive;
            background: linear-gradient(135deg, #2c2416 0%, #3d3020 50%, #2c2416 100%);
            padding: clamp(12px, 2.5vw, 30px);
            min-height: 100vh;
        }

        /* Wooden Frame Container */
        .wooden-frame {
            width: 100%;
            max-width: 1600px;
            background: linear-gradient(135deg, #4a3728 0%, #5c4739 50%, #4a3728 100%);
            padding: 35px;
            border-radius: 8px;
            box-shadow: 
                0 50px 100px rgba(0, 0, 0, 0.8),
                inset 0 0 50px rgba(0, 0, 0, 0.5),
                inset 5px 5px 20px rgba(74, 55, 40, 0.8);
            position: relative;
            border: 3px solid #3d2817;
        }

        /* Wood grain texture */
        .wooden-frame::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-image: 
                repeating-linear-gradient(90deg, 
                    transparent, 
                    transparent 2px, 
                    rgba(0, 0, 0, 0.1) 2px, 
                    rgba(0, 0, 0, 0.1) 4px),
                repeating-linear-gradient(0deg, 
                    rgba(0, 0, 0, 0.05), 
                    rgba(0, 0, 0, 0.05) 1px, 
                    transparent 1px, 
                    transparent 3px);
            opacity: 0.6;
            pointer-events: none;
        }

        /* Cork Board */
        .cork-board {
            background: 
                radial-gradient(circle at 20% 30%, #c9a97a 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, #b8956f 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, #d4b896 0%, transparent 80%),
                #c19a6b;
            padding: 50px 40px;
            border-radius: 3px;
            box-shadow: 
                inset 0 0 100px rgba(0, 0, 0, 0.15),
                inset 5px 5px 30px rgba(0, 0, 0, 0.1),
                inset -5px -5px 30px rgba(255, 255, 255, 0.1);
            position: relative;
            min-height: auto;
        }

        /* Cork texture overlay */
        .cork-texture {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-image: 
                radial-gradient(circle at 20% 30%, rgba(139, 69, 19, 0.03) 0%, transparent 2px),
                radial-gradient(circle at 40% 70%, rgba(139, 69, 19, 0.03) 0%, transparent 2px),
                radial-gradient(circle at 60% 40%, rgba(139, 69, 19, 0.03) 0%, transparent 2px),
                radial-gradient(circle at 80% 60%, rgba(139, 69, 19, 0.03) 0%, transparent 2px),
                radial-gradient(circle at 10% 80%, rgba(139, 69, 19, 0.03) 0%, transparent 2px),
                radial-gradient(circle at 90% 20%, rgba(139, 69, 19, 0.03) 0%, transparent 2px);
            background-size: 8px 8px, 12px 12px, 10px 10px, 15px 15px, 9px 9px, 11px 11px;
            background-position: 0 0, 3px 3px, 6px 6px, 2px 8px, 5px 2px, 8px 5px;
            opacity: 0.8;
            pointer-events: none;
        }

        /* Cork spots and imperfections */
        .cork-spot {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(101, 67, 33, 0.15) 0%, transparent 70%);
            pointer-events: none;
        }

        .spot1 { width: 30px; height: 30px; top: 15%; left: 8%; }
        .spot2 { width: 45px; height: 45px; top: 60%; right: 12%; }
        .spot3 { width: 25px; height: 25px; bottom: 25%; left: 20%; }
        .spot4 { width: 35px; height: 35px; top: 40%; right: 25%; }
        .spot5 { width: 20px; height: 20px; top: 75%; left: 50%; }
        .spot6 { width: 40px; height: 40px; top: 20%; left: 60%; }
        .spot7 { width: 28px; height: 28px; bottom: 15%; right: 35%; }

        /* Header Paper Posted */
        .header-paper {
            background: linear-gradient(135deg, #fff9e6 0%, #f5f0e1 100%);
            padding: 30px 40px;
            margin: 0 auto 50px;
            max-width: 600px;
            position: relative;
            box-shadow: 
                0 10px 30px rgba(0, 0, 0, 0.3),
                inset 0 0 50px rgba(139, 69, 19, 0.03);
            transform: rotate(-1deg);
            z-index: 5;
        }

        /* Paper texture */
        .header-paper::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-image: 
                repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 69, 19, 0.02) 2px, rgba(139, 69, 19, 0.02) 4px);
            pointer-events: none;
        }

        /* Pin holding the header */
        .header-pin {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
        }

        .header-pin-head {
            width: 28px;
            height: 28px;
            background: radial-gradient(circle at 30% 30%, #ff4757, #d63031);
            border-radius: 50%;
            box-shadow: 
                inset -4px -4px 8px rgba(0, 0, 0, 0.3),
                inset 3px 3px 8px rgba(255, 255, 255, 0.3),
                0 8px 15px rgba(0, 0, 0, 0.4);
            position: relative;
        }

        .header-pin-head::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 3px;
            height: 12px;
            background: linear-gradient(to bottom, #888, #555);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        }

        .header-content {
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .acentral-badge {
            font-family: 'Bebas Neue', cursive;
            font-size: 24px;
            color: #8b4513;
            letter-spacing: 8px;
            margin-bottom: 8px;
        }

        .header-title {
            font-family: 'Permanent Marker', cursive;
            font-size: 42px;
            color: #2c1810;
            margin: 8px 0;
            text-shadow: 2px 2px 0 rgba(255, 215, 0, 0.3);
        }

        .header-subtitle {
            font-family: 'Caveat', cursive;
            font-size: 22px;
            color: #654321;
        }

        /* Cards Grid */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
            justify-content: center;
            gap: 62px 34px;
            padding: 20px 12px;
            position: relative;
            z-index: 2;
        }

        /* Birthday Card */
        .birthday-card {
            position: relative;
            width: 100%;
            max-width: 280px;
            animation: fadeInUp 0.8s ease-out both;
            filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
        }

        .birthday-card:nth-child(1) { animation-delay: 0.1s; }
        .birthday-card:nth-child(2) { animation-delay: 0.2s; }
        .birthday-card:nth-child(3) { animation-delay: 0.3s; }
        .birthday-card:nth-child(4) { animation-delay: 0.4s; }
        .birthday-card:nth-child(5) { animation-delay: 0.5s; }
        .birthday-card:nth-child(6) { animation-delay: 0.6s; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px) rotate(0deg);
            }
            to {
                opacity: 1;
                transform: translateY(0) rotate(var(--card-rotation, 0deg));
            }
        }

        /* Random tilt for realism */
        .birthday-card:nth-child(1) { --card-rotation: -3deg; }
        .birthday-card:nth-child(2) { --card-rotation: 2deg; }
        .birthday-card:nth-child(3) { --card-rotation: -2deg; }
        .birthday-card:nth-child(4) { --card-rotation: 3deg; }
        .birthday-card:nth-child(5) { --card-rotation: -1deg; }
        .birthday-card:nth-child(6) { --card-rotation: 2deg; }

        .birthday-card:hover {
            transform: translateY(-15px) rotate(0deg) scale(1.05);
            z-index: 20;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.5));
        }

        .birthday-card-link {
            display: block;
            color: inherit;
            text-decoration: none;
        }

        /* Realistic Push Pin */
        .pin {
            position: absolute;
            top: -18px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 15;
            filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
        }

        .pin-head {
            width: 32px;
            height: 32px;
            background: radial-gradient(circle at 35% 35%, #ff6b6b, #c92a2a);
            border-radius: 50%;
            position: relative;
            box-shadow: 
                inset -5px -5px 12px rgba(0, 0, 0, 0.4),
                inset 4px 4px 12px rgba(255, 255, 255, 0.4);
            animation: pinShadow 3s ease-in-out infinite;
        }

        @keyframes pinShadow {
            0%, 100% { 
                box-shadow: 
                    inset -5px -5px 12px rgba(0, 0, 0, 0.4),
                    inset 4px 4px 12px rgba(255, 255, 255, 0.4),
                    0 8px 12px rgba(0, 0, 0, 0.5);
            }
            50% { 
                box-shadow: 
                    inset -5px -5px 12px rgba(0, 0, 0, 0.4),
                    inset 4px 4px 12px rgba(255, 255, 255, 0.4),
                    0 10px 15px rgba(0, 0, 0, 0.6);
            }
        }

        .pin-head::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 22px;
            height: 22px;
            background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.4), transparent);
            border-radius: 50%;
        }

        .pin-head::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 3px;
            height: 15px;
            background: linear-gradient(to bottom, #999, #555);
            box-shadow: 
                1px 0 2px rgba(0, 0, 0, 0.5),
                0 3px 6px rgba(0, 0, 0, 0.4);
        }

        /* Pin color variations */
        .birthday-card:nth-child(2) .pin-head {
            background: radial-gradient(circle at 35% 35%, #4ecdc4, #2a9d8f);
        }

        .birthday-card:nth-child(3) .pin-head {
            background: radial-gradient(circle at 35% 35%, #ffd93d, #f39c12);
        }

        .birthday-card:nth-child(4) .pin-head {
            background: radial-gradient(circle at 35% 35%, #a8e6cf, #56ab91);
        }

        .birthday-card:nth-child(5) .pin-head {
            background: radial-gradient(circle at 35% 35%, #ff6348, #c0392b);
        }

        .birthday-card:nth-child(6) .pin-head {
            background: radial-gradient(circle at 35% 35%, #6c5ce7, #5f3dc4);
        }

        /* Polaroid Photo */
        .polaroid {
            background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
            padding: 14px 14px 46px 14px;
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.4),
                0 1px 3px rgba(0, 0, 0, 0.2),
                inset 0 0 50px rgba(0, 0, 0, 0.02);
            position: relative;
        }

        .polaroid::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 100%);
            pointer-events: none;
        }

        /* Photo area */
        .photo-area {
            width: 100%;
            aspect-ratio: 4 / 5;
            height: auto;
            max-height: 320px;
            background: linear-gradient(135deg, #e8e8e8 0%, #d5d5d5 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 90px;
            color: #aaa;
            overflow: hidden;
            position: relative;
            border: 1px solid #ddd;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
        }

        .photo-area img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 24%;
            display: block;
        }

        /* Name caption on polaroid */
        .name-caption {
            position: absolute;
            bottom: 16px;
            left: 16px;
            right: 16px;
            text-align: center;
            font-family: 'Permanent Marker', cursive;
            font-size: clamp(20px, 2.2vw, 26px);
            color: #2c2c2c;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Birthday badge */
        .birthday-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: linear-gradient(135deg, #ffd93d 0%, #f39c12 100%);
            color: #2c1810;
            padding: 6px 14px;
            border-radius: 20px;
            font-family: 'Bebas Neue', cursive;
            font-size: 13px;
            letter-spacing: 2px;
            box-shadow: 
                0 5px 15px rgba(243, 156, 18, 0.4),
                inset 0 1px 2px rgba(255, 255, 255, 0.4);
            z-index: 2;
            animation: badgePulse 2s ease-in-out infinite;
        }

        @keyframes badgePulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.08); }
        }

        /* Realistic Paper Clip */
        .paperclip {
            position: absolute;
            top: -25px;
            right: 25px;
            width: 45px;
            height: 90px;
            border: 5px solid #b8b8b8;
            border-radius: 22px 22px 0 0;
            transform: rotate(20deg);
            z-index: 12;
            box-shadow: 
                inset -3px -3px 8px rgba(0, 0, 0, 0.2),
                inset 2px 2px 6px rgba(255, 255, 255, 0.3),
                0 8px 15px rgba(0, 0, 0, 0.3);
        }

        .paperclip::before {
            content: '';
            position: absolute;
            top: 55%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 32px;
            height: 50px;
            border: 5px solid #b8b8b8;
            border-radius: 18px;
            border-top: none;
            box-shadow: 
                inset -2px -2px 5px rgba(0, 0, 0, 0.15),
                inset 2px 2px 4px rgba(255, 255, 255, 0.2);
        }

        .birthday-card:nth-child(even) .paperclip {
            display: block;
        }

        .birthday-card:nth-child(odd) .paperclip {
            display: none;
        }

        /* Washi Tape */
        .washi-tape {
            position: absolute;
            top: -8px;
            left: -12px;
            width: 130px;
            height: 28px;
            background: 
                repeating-linear-gradient(
                    -45deg,
                    rgba(255, 182, 193, 0.85),
                    rgba(255, 182, 193, 0.85) 12px,
                    rgba(255, 105, 180, 0.85) 12px,
                    rgba(255, 105, 180, 0.85) 24px
                );
            transform: rotate(-6deg);
            z-index: 8;
            box-shadow: 
                0 4px 10px rgba(0, 0, 0, 0.3),
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
            opacity: 0.95;
        }

        .birthday-card:nth-child(3n) .washi-tape {
            background: 
                repeating-linear-gradient(
                    -45deg,
                    rgba(135, 206, 250, 0.85),
                    rgba(135, 206, 250, 0.85) 12px,
                    rgba(100, 149, 237, 0.85) 12px,
                    rgba(100, 149, 237, 0.85) 24px
                );
        }

        .birthday-card:nth-child(2n) .washi-tape {
            background: 
                repeating-linear-gradient(
                    -45deg,
                    rgba(255, 235, 59, 0.85),
                    rgba(255, 235, 59, 0.85) 12px,
                    rgba(255, 193, 7, 0.85) 12px,
                    rgba(255, 193, 7, 0.85) 24px
                );
        }

        /* Sticky Note */
        .sticky-note {
            position: absolute;
            bottom: -35px;
            left: -25px;
            width: 110px;
            height: 110px;
            background: linear-gradient(135deg, #ffeb3b 0%, #fdd835 100%);
            padding: 12px;
            font-size: 15px;
            color: #2c2c2c;
            transform: rotate(-12deg);
            box-shadow: 
                0 12px 25px rgba(0, 0, 0, 0.3),
                inset 0 -20px 20px rgba(0, 0, 0, 0.02);
            z-index: 18;
            display: none;
            font-family: 'Patrick Hand', cursive;
            line-height: 1.4;
        }

        .birthday-card:nth-child(2) .sticky-note,
        .birthday-card:nth-child(5) .sticky-note {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .sticky-note::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 25px;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent);
        }

        /* Confetti around cards */
        .confetti {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            z-index: 1;
        }

        .confetti-1 { background: #ff6b6b; top: -30px; left: -20px; }
        .confetti-2 { background: #4ecdc4; top: -25px; right: -15px; }
        .confetti-3 { background: #ffd93d; bottom: -20px; left: -10px; }
        .confetti-4 { background: #a8e6cf; bottom: -25px; right: -20px; }

        .birthday-card:nth-child(odd) .confetti {
            animation: confettiFloat 3s ease-in-out infinite;
        }

        @keyframes confettiFloat {
            0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
            50% { transform: translateY(-10px) scale(1.2); opacity: 1; }
        }

        /* Footer note */
        .footer-note {
            background: linear-gradient(135deg, #fff9e6 0%, #f5f0e1 100%);
            padding: 35px;
            margin-top: 70px;
            text-align: center;
            position: relative;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            box-shadow: 
                0 15px 35px rgba(0, 0, 0, 0.3),
                inset 0 0 50px rgba(139, 69, 19, 0.03);
            transform: rotate(1deg);
        }

        .footer-note::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-image: 
                repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 69, 19, 0.02) 2px, rgba(139, 69, 19, 0.02) 4px);
        }

        .footer-pin {
            position: absolute;
            top: -18px;
            left: 50%;
            transform: translateX(-50%);
        }

        .footer-pin .pin-head {
            width: 30px;
            height: 30px;
            background: radial-gradient(circle at 35% 35%, #6c5ce7, #5f3dc4);
        }

        .footer-note h3 {
            font-family: 'Permanent Marker', cursive;
            font-size: 36px;
            color: #8b4513;
            margin-bottom: 15px;
            position: relative;
            z-index: 2;
        }

        .footer-note p {
            font-size: 20px;
            color: #654321;
            line-height: 1.7;
            position: relative;
            z-index: 2;
        }

        .empty-state {
            max-width: 680px;
            margin: 10px auto 0;
            background: linear-gradient(135deg, #fff9e6 0%, #f5f0e1 100%);
            padding: 28px;
            text-align: center;
            box-shadow:
                0 12px 30px rgba(0, 0, 0, 0.2),
                inset 0 0 40px rgba(139, 69, 19, 0.05);
            position: relative;
            z-index: 3;
        }

        .empty-state strong {
            display: block;
            font-size: 30px;
            color: #5a2f0e;
            margin-bottom: 10px;
            font-family: 'Permanent Marker', cursive;
        }

        .empty-state p {
            color: #6d3b14;
            font-size: 20px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .cards-grid {
                grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
                justify-content: center;
                gap: 56px 16px;
                padding: 16px 4px;
            }

            .wooden-frame {
                padding: 14px;
            }

            .cork-board {
                padding: 24px 14px;
            }

            .header-title {
                font-size: 32px;
            }

            .birthday-card {
                max-width: 240px;
                margin: 0 auto;
            }

            .polaroid {
                padding: 12px 12px 40px 12px;
            }

            .photo-area {
                aspect-ratio: 3 / 4;
                max-height: 280px;
            }
        }
