/* ==========================================================================
   Dia Travel Special — Brand Design System (Vanilla CSS - Light Luxury Theme)
   ========================================================================== */

/* Design Tokens & Variables (Light Luxury) */
:root {
    --bg-light: #fdfbf8;
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(148, 118, 58, 0.16);
    --card-border-hover: rgba(148, 118, 58, 0.7);
    --color-gold-light: #c5a86a;
    --color-gold: #94763a;
    --color-gold-dark: #6e5424;
    --text-primary: #2d2922;      /* Rich bronze-charcoal */
    --text-secondary: #5a5449;    /* Muted warm gray */
    --text-muted: #8c8374;        /* Soft warm gray */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow-gold: 0 10px 30px rgba(148, 118, 58, 0.05);
    --shadow-gold-hover: 0 15px 35px rgba(148, 118, 58, 0.15);
    --transition-premium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-light);
    font-family: var(--font-body);
    color: var(--text-primary);
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Background & Atmosphere */
body {
    background-image: linear-gradient(to bottom, rgba(253, 251, 248, 0.88), rgba(253, 251, 248, 0.94)), url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Smooth glass filter over the background */
.bg-blur {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(6px);
    pointer-events: none;
    z-index: 1;
}

/* Ambient glow circles for luxury lighting */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.glow-1 {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-gold-light) 0%, transparent 70%);
    animation: pulseGlow1 8s infinite alternate ease-in-out;
}

.glow-2 {
    bottom: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #dfc585 0%, transparent 70%);
    animation: pulseGlow2 12s infinite alternate ease-in-out;
}

@keyframes pulseGlow1 {
    0% { transform: scale(1) translate(0, 0); opacity: 0.08; }
    100% { transform: scale(1.15) translate(-5%, 5%); opacity: 0.14; }
}

@keyframes pulseGlow2 {
    0% { transform: scale(1) translate(0, 0); opacity: 0.06; }
    100% { transform: scale(1.1) translate(5%, -5%); opacity: 0.12; }
}

/* Layout Container */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    padding: 45px 24px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Profile Header */
.profile-header {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.avatar-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    box-shadow: 0 8px 24px rgba(148, 118, 58, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-premium);
}

.avatar-container::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid rgba(148, 118, 58, 0.2);
    opacity: 0.6;
    transition: var(--transition-premium);
}

.avatar-container:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(148, 118, 58, 0.22);
}

.avatar-container:hover::after {
    transform: scale(1.08);
    opacity: 0;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: #ffffff;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(148, 118, 58, 0.1);
}

.brand-services {
    margin-top: 12px;
    padding-top: 15px;
    border-top: 1px dashed rgba(148, 118, 58, 0.25);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.brand-services p {
    font-size: 0.8rem;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Links Container & Cards */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 50px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    text-decoration: none;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-premium);
    box-shadow: var(--shadow-gold);
    opacity: 0;
    transform: translateY(20px);
}

/* Sequential fade-in animation for links */
.links-container .link-card:nth-child(1) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards; }
.links-container .link-card:nth-child(2) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; }
.links-container .link-card:nth-child(3) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards; }
.links-container .link-card:nth-child(4) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards; }

.link-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--card-border-hover);
    box-shadow: var(--shadow-gold-hover);
}

.link-card:active {
    transform: translateY(-1px);
}

/* Card Elements */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(148, 118, 58, 0.08);
    border: 1px solid rgba(148, 118, 58, 0.15);
    color: var(--color-gold);
    transition: var(--transition-premium);
}

.link-card:hover .icon-wrapper {
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
    box-shadow: 0 4px 12px rgba(148, 118, 58, 0.25);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.link-text {
    flex: 1;
    margin-left: 18px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    transition: var(--transition-premium);
}

.link-card:hover .link-text {
    color: var(--color-gold);
    letter-spacing: 0.07em;
}

.arrow-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-premium);
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

.link-card:hover .arrow-wrapper {
    color: var(--color-gold);
    transform: translateX(4px);
}

/* Footer Section */
.profile-footer {
    margin-top: auto;
    text-align: center;
    width: 100%;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.8s forwards;
}

.profile-footer p {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Animations Definitions */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Media Queries & Optimization for smaller mobile screens */
@media (max-width: 375px) {
    .container {
        padding: 35px 16px 40px;
    }
    
    .brand-title {
        font-size: 1.6rem;
    }
    
    .avatar-container {
        width: 95px;
        height: 95px;
    }
    
    .link-card {
        padding: 14px 16px;
    }
    
    .icon-wrapper {
        width: 38px;
        height: 38px;
    }
    
    .btn-icon {
        width: 18px;
        height: 18px;
    }
    
    .link-text {
        font-size: 0.9rem;
        margin-left: 14px;
    }
}
