:root {
    /* Premium Palette */
    --c-bg-dark: #2C1B18;
    /* Deep Cocoa */
    --c-bg-light: #3E2723;
    --c-primary: #D4AF37;
    /* Metallic Gold */
    --c-text-main: #F5E6D3;
    /* Cream */
    --c-text-muted: #BCAAA4;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-sub: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Effects */
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
    background: radial-gradient(circle at top center, var(--c-bg-light), var(--c-bg-dark));
    color: var(--c-text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.app-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    z-index: 1;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1h2v2H1V1zm4 4h2v2H5V5zm4 4h2v2H9V9zm4 4h2v2h-2v-2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--c-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--c-primary);
    margin: 0 auto 1.5rem;
    opacity: 0.6;
}

.question {
    font-family: var(--font-sub);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--c-text-muted);
}

/* Interaction Area */
.interaction-area {
    text-align: center;
    min-height: 100px;
}

.btn-premium {
    position: relative;
    background: transparent;
    border: 1px solid var(--c-primary);
    color: var(--c-primary);
    padding: 1rem 3rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-premium:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Result Area */
.result-area {
    text-align: center;
    margin-top: 2rem;
}

.result-area.hidden {
    display: none;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 4px;
    /* Sharp corners for premium feel */
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

/* Updated Image Visuals - Large Square */
.choco-visual {
    width: 100%;
    max-width: 320px;
    height: 320px;
    border-radius: 12px;
    object-fit: cover;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

.choco-visual:hover {
    transform: scale(1.02);
}

.choco-name {
    font-family: var(--font-heading);
    color: var(--c-primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.choco-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--c-text-muted);
    max-width: 400px;
}

.tags {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.7);
}

.btn-text-only {
    background: none;
    border: none;
    color: var(--c-text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-text-only:hover {
    color: var(--c-primary);
    border-bottom-color: var(--c-primary);
}

/* Footer */
.footer {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.7rem;
    opacity: 0.3;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card .choco-visual {
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.card .choco-name {
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.card .choco-desc {
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.card .tags {
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

/* Partnership Form */
.partnership-area {
    margin-top: 4rem;
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.divider-sm {
    width: 30px;
    height: 1px;
    background: var(--c-primary);
    margin: 0 auto 1.5rem;
    opacity: 0.4;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--c-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-desc {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: var(--c-text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 4px;
    /* Sharp for premium feel */
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--c-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: var(--c-primary);
    color: var(--c-bg-dark);
    border: none;
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Logo Styling */
.logo-img {
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

/* Brand Story Section */
.brand-story-area {
    margin-top: 4rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.story-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--c-text-muted);
    text-align: justify;
    word-break: keep-all;
}

.story-content p {
    margin-bottom: 1rem;
}

.story-content strong {
    color: var(--c-primary);
    font-weight: normal;
    font-family: var(--font-heading);
}

.story-content em {
    color: var(--c-text-main);
    font-style: normal;
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.3);
}

/* Footer Links */
.footer-links {
    margin-top: 0.5rem;
    font-size: 0.65rem;
}

.footer-links a {
    color: var(--c-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--c-primary);
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }

    .card {
        padding: 1.5rem;
    }

    .choco-visual {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .partnership-area {
        margin-top: 3rem;
    }

    .logo-img {
        max-width: 220px;
    }

    .story-content {
        text-align: left;
        /* Better for mobile reading */
    }
}