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

    body {
        font-family: 'Raleway', sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        background: #3d2817;
        padding: 20px;
        position: relative;
    }

    body::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 70% 60%, rgba(184, 134, 11, 0.1) 0%, transparent 50%);
    }

    .card-container {
        width: 100%;
        max-width: 500px;
        background: linear-gradient(180deg, #f8f3e8 0%, #f0e6d2 50%, #e8dcc8 100%);
        border-radius: 5px;
        padding: 0;
        box-shadow: 
            0 40px 80px rgba(0, 0, 0, 0.6),
            inset 0 0 200px rgba(139, 69, 19, 0.1);
        position: relative;
        z-index: 1;
        overflow: hidden;
    }

    /* Vintage Paper Texture */
    .paper-texture {
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: 
            url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence baseFrequency="0.9" numOctaves="4" /></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>');
        opacity: 0.8;
        pointer-events: none;
    }

    /* Aged Paper Spots */
    .age-spot {
        position: absolute;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(139, 69, 19, 0.08) 0%, transparent 70%);
        pointer-events: none;
    }

    .spot-1 { top: 10%; left: 15%; width: 80px; height: 80px; }
    .spot-2 { top: 70%; right: 20%; width: 100px; height: 100px; }
    .spot-3 { bottom: 15%; left: 25%; width: 60px; height: 60px; }
    .spot-4 { top: 40%; right: 10%; width: 70px; height: 70px; }

    /* Torn Paper Edge */
    .torn-edge {
        position: absolute;
        width: 100%;
        height: 15px;
        pointer-events: none;
    }

    .torn-top {
        top: 0;
        background: linear-gradient(to bottom, #8b6914 0%, transparent 100%);
        opacity: 0.1;
    }

    .torn-bottom {
        bottom: 0;
        background: linear-gradient(to top, #8b6914 0%, transparent 100%);
        opacity: 0.1;
    }

    /* Decorative Border */
    .vintage-border {
        position: absolute;
        top: 25px;
        left: 25px;
        right: 25px;
        bottom: 25px;
        border: 3px double #d4af37;
        pointer-events: none;
        box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.2);
    }

    .vintage-border::before {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border: 1px solid rgba(139, 105, 20, 0.3);
    }

    /* Content */
    .content-area {
        position: relative;
        z-index: 2;
        padding: 55px 40px;
    }

    /* Royal Crown */
    .crown-emblem {
        text-align: center;
        margin-bottom: 25px;
        animation: fadeInDown 1s ease-out;
    }

    .crown-icon {
        font-size: 50px;
        color: #d4af37;
        filter: drop-shadow(0 5px 10px rgba(212, 175, 55, 0.4));
        animation: floatCrown 3s ease-in-out infinite;
    }

    @keyframes floatCrown {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

    .crown-sparkle {
        position: absolute;
        color: #ffd700;
        font-size: 12px;
        opacity: 0;
        animation: sparkle 2s ease-in-out infinite;
    }

    .sparkle-1 { top: 45px; left: 48%; animation-delay: 0s; }
    .sparkle-2 { top: 55px; left: 52%; animation-delay: 0.5s; }
    .sparkle-3 { top: 50px; left: 50%; animation-delay: 1s; }

    @keyframes sparkle {
        0%, 100% { opacity: 0; transform: scale(0.5); }
        50% { opacity: 1; transform: scale(1.2); }
    }

    /* ACentral Badge */
    .acentral-royal {
        text-align: center;
        margin-bottom: 30px;
        animation: fadeIn 1s ease-out 0.3s both;
    }

    .royal-shield {
        display: inline-block;
        padding: 12px 35px;
        background: linear-gradient(135deg, 
            rgba(212, 175, 55, 0.15) 0%, 
            rgba(212, 175, 55, 0.05) 50%, 
            rgba(212, 175, 55, 0.15) 100%);
        border-top: 2px solid #d4af37;
        border-bottom: 2px solid #d4af37;
        position: relative;
    }

    .royal-shield::before,
    .royal-shield::after {
        content: '❖';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #d4af37;
        font-size: 10px;
    }

    .royal-shield::before { left: 8px; }
    .royal-shield::after { right: 8px; }

    .acentral-text-royal {
        font-family: 'Libre Baskerville', serif;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 6px;
        color: #8b6914;
        text-transform: uppercase;
    }

    /* Main Title */
    .main-title-section {
        text-align: center;
        margin: 35px 0;
        animation: fadeInScale 1s ease-out 0.5s both;
    }

    .happy-royal {
        font-family: 'Libre Baskerville', serif;
        font-size: 85px;
        font-weight: 700;
        color: transparent;
        background: linear-gradient(to bottom, #d4af37 0%, #b8860b 50%, #d4af37 100%);
        -webkit-background-clip: text;
        background-clip: text;
        line-height: 0.9;
        letter-spacing: 5px;
        text-shadow: 2px 2px 0 rgba(139, 105, 20, 0.2);
    }

    .birthday-royal {
        font-family: 'Great Vibes', cursive;
        font-size: 70px;
        color: #8b6914;
        margin-top: 5px;
        text-shadow: 1px 1px 2px rgba(139, 105, 20, 0.3);
    }

    /* Ornamental Divider */
    .ornamental-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin: 35px 0;
        animation: fadeIn 1s ease-out 0.8s both;
    }

    .divider-flourish {
        width: 100px;
        height: 2px;
        background: linear-gradient(to right, transparent, #d4af37, transparent);
        position: relative;
    }

    .divider-flourish::before,
    .divider-flourish::after {
        content: '';
        position: absolute;
        width: 6px;
        height: 6px;
        background: #d4af37;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
    }

    .divider-flourish::before { left: 0; }
    .divider-flourish::after { right: 0; }

    .divider-center {
        color: #d4af37;
        font-size: 16px;
    }

    /* Photo Frame */
    .photo-vintage {
        margin: 40px 0;
        animation: fadeInUp 1s ease-out 1s both;
    }

    .frame-vintage {
        width: 300px;
        height: 380px;
        margin: 0 auto;
        position: relative;
    }

    /* Ornate Frame Border */
    .frame-ornate {
        position: absolute;
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
        background: linear-gradient(135deg, #d4af37, #b8860b, #d4af37);
        padding: 8px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }

    .frame-ornate::before {
        content: '';
        position: absolute;
        top: 4px;
        left: 4px;
        right: 4px;
        bottom: 4px;
        border: 2px solid rgba(255, 215, 0, 0.6);
    }

    .frame-inner-vintage {
        position: relative;
        width: 100%;
        height: 100%;
        background: white;
        padding: 18px;
        box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.15);
        z-index: 2;
    }

    .photo-content-vintage {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #f0e6d2 0%, #e8dcc8 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 90px;
        color: #8b6914;
        border: 1px solid rgba(139, 105, 20, 0.3);
        overflow: hidden;
    }

    .photo-content-vintage img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Name Section */
    .name-vintage {
        text-align: center;
        margin: 40px 0 30px;
        animation: fadeIn 1s ease-out 1.3s both;
    }

    .name-prefix-vintage {
        font-size: 11px;
        letter-spacing: 3px;
        color: #8b6914;
        margin-bottom: 12px;
        text-transform: uppercase;
        opacity: 0.8;
    }

    .name-display-vintage {
        font-family: 'Great Vibes', cursive;
        font-size: 58px;
        color: #d4af37;
        text-shadow: 2px 2px 4px rgba(139, 105, 20, 0.2);
        word-break: break-word;
    }

    .kelas-vintage {
        font-size: 14px;
        color: #8b6914;
        margin-top: 10px;
        letter-spacing: 2px;
        font-style: italic;
        opacity: 0.8;
        font-family: 'Raleway', sans-serif;
    }

    .ucapan-vintage {
        text-align: center;
        margin: 25px 0;
        padding: 20px;
        background: rgba(255, 255, 255, 0.5);
        border: 1px solid rgba(212, 175, 55, 0.3);
        font-family: 'Libre Baskerville', serif;
        font-size: 13px;
        line-height: 1.7;
        color: #5c3e1f;
        font-style: italic;
        position: relative;
        border-radius: 5px;
    }

    .ucapan-vintage::before,
    .ucapan-vintage::after {
        content: '"';
        font-size: 30px;
        color: #d4af37;
        position: absolute;
        opacity: 0.5;
    }

    .ucapan-vintage::before {
        top: -5px;
        left: 10px;
    }

    .ucapan-vintage::after {
        bottom: -25px;
        right: 10px;
        transform: rotate(180deg);
    }

    .instagram-vintage {
        text-align: center;
        margin: 20px 0;
    }

    .instagram-link-vintage {
        color: #8b6914;
        text-decoration: none;
        font-size: 14px;
        border-bottom: 1px solid #d4af37;
        padding-bottom: 2px;
        transition: all 0.3s ease;
        display: inline-block;
        font-style: italic;
    }

    .instagram-link-vintage:hover {
        color: #d4af37;
        border-bottom-color: #8b6914;
        transform: translateY(-2px);
    }

    /* Bottom Section */
    .footer-vintage {
        text-align: center;
        margin-top: 35px;
        animation: fadeIn 1s ease-out 1.5s both;
    }

    .year-vintage {
        font-family: 'Libre Baskerville', serif;
        font-size: 24px;
        font-weight: 700;
        color: #8b6914;
        letter-spacing: 4px;
        margin-top: 15px;
    }

    .footer-ornament {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .ornament-dot {
        width: 5px;
        height: 5px;
        background: #d4af37;
        border-radius: 50%;
        animation: pulse 2s ease-in-out infinite;
    }

    .ornament-dot:nth-child(1) { animation-delay: 0s; }
    .ornament-dot:nth-child(2) { animation-delay: 0.3s; }
    .ornament-dot:nth-child(3) { animation-delay: 0.6s; }

    @keyframes pulse {
        0%, 100% { opacity: 0.4; transform: scale(0.8); }
        50% { opacity: 1; transform: scale(1.3); }
    }

    .motto-text {
        font-size: 12px;
        color: #8b6914;
        letter-spacing: 2px;
        font-style: italic;
        opacity: 0.7;
    }

    .full-date-vintage {
        font-size: 12px;
        color: #8b6914;
        margin-top: 10px;
        opacity: 0.6;
        letter-spacing: 1px;
        font-style: italic;
    }

    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    @media (max-width: 480px) {
        .content-area {
            padding: 45px 30px;
        }
        
        .happy-royal {
            font-size: 65px;
        }
        
        .birthday-royal {
            font-size: 55px;
        }
        
        .frame-vintage {
            width: 250px;
            height: 320px;
        }
        
        .name-display-vintage {
            font-size: 48px;
        }

        .ucapan-vintage {
            padding: 15px;
            font-size: 12px;
        }
    }
