/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-light: #faf6f0; /* Soft off-white / Warm cream */
    --gold-primary: #b5902b; /* Luxurious warm gold for readability */
    --gold-light: #fdf6e2; /* Warm gold glow */
    --gold-dark: #8c6f1c; /* Deep gold accent */
    --text-dark: #2a2233; /* Elegant deep luxury violet/charcoal */
    --text-muted: #6e647c; /* Balanced purple-gray for secondary text */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-light);
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 20px;
}

/* Ambient Background Glows */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.16) 0%, rgba(255, 255, 255, 0) 70%); /* Soft rose-pink glow */
    top: -100px;
    left: -100px;
    animation: floatOrb 15s ease-in-out infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(255, 255, 255, 0) 70%); /* Soft warm gold glow */
    bottom: -150px;
    right: -100px;
    animation: floatOrb 18s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, 30px) scale(1.1);
    }
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 28px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(180, 150, 120, 0.12), 
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

/* Header Section */
.header {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 25px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
    box-shadow: 0 10px 30px rgba(180, 150, 120, 0.25), 
                0 0 20px rgba(212, 175, 55, 0.2);
    animation: logoGlow 6s ease-in-out infinite alternate;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px dashed rgba(212, 175, 55, 0.35);
    animation: rotateDashed 25s linear infinite;
}

.main-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #ffffff;
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.5;
    padding: 0 10px;
}

/* Links Section & Action Buttons */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.action-button {
    text-decoration: none;
    position: relative;
    display: block;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(253, 251, 247, 0.98) 100%);
    box-shadow: 0 4px 15px rgba(180, 150, 120, 0.06);
}

.btn-content {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.icon {
    font-size: 1.25rem;
    color: var(--gold-primary);
    width: 32px;
    text-align: left;
    transition: var(--transition-smooth);
}

.btn-text {
    flex-grow: 1;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.arrow-icon {
    font-size: 0.9rem;
    color: rgba(44, 35, 56, 0.3);
    transition: var(--transition-smooth);
    transform: translateX(0);
}

/* Interactive Hover States */
.action-button:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15), 
                0 0 15px rgba(244, 63, 94, 0.08);
}

.action-button:hover .btn-content {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(244, 63, 94, 0.04) 100%);
}

.action-button:hover .btn-text {
    color: var(--gold-dark);
    letter-spacing: 1.2px;
}

.action-button:hover .icon {
    transform: scale(1.15);
    color: var(--gold-primary);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.25));
}

.action-button:hover .arrow-icon {
    color: var(--gold-primary);
    transform: translateX(4px);
}

/* Specific Accent Glows for individual buttons */
.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0) 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 1;
}

.action-button:hover .btn-glow {
    transform: translate(-50%, -50%) scale(1);
}

/* Footer Section */
.footer {
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding-top: 25px;
}

.footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Entrance Animations */
.animate-fade-in {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes logoGlow {
    0% {
        box-shadow: 0 10px 30px rgba(180, 150, 120, 0.2), 0 0 15px rgba(212, 175, 55, 0.15);
    }
    100% {
        box-shadow: 0 10px 30px rgba(180, 150, 120, 0.2), 0 0 30px rgba(212, 175, 55, 0.35), 0 0 15px rgba(244, 63, 94, 0.15);
    }
}

@keyframes rotateDashed {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    .container {
        padding: 30px 20px;
        border-radius: 24px;
    }
    .logo-wrapper {
        width: 140px;
        height: 140px;
    }
    .main-title {
        font-size: 1.6rem;
    }
    .btn-content {
        padding: 16px 20px;
    }
    .btn-text {
        font-size: 0.88rem;
    }
}
