@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Inter:wght@300;500;700&display=swap');

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

:root {
    --accent: #ff7a00;
    --accent-glow: rgba(255, 122, 0, 0.35);
    --text: #ffffff;
    --text-muted: #e2e8f0;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-border: rgba(255, 255, 255, 0.08);
    --surface-border-hover: rgba(255, 255, 255, 0.3);
    --surface-hover: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(20, 20, 25, 0.4);
}

body {
    font-family: 'Inter', sans-serif;
    background: url('images/templebackground.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.7) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.content {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 540px;
    padding: clamp(28px, 6vw, 40px) clamp(18px, 5vw, 30px);
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}


.language-switcher {
    position: absolute;
    top: 14px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    letter-spacing: 1px;
}

.language-option {
    border: 0;
    padding: 4px 3px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    font: inherit;
    letter-spacing: inherit;
}

.language-option:hover,
.language-option.active {
    color: var(--accent);
}

h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    font-weight: 700;
    letter-spacing: clamp(2px, 1vw, 6px);
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffd84d 0%, #ffcc00 50%, #ffb300 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: rise-in 0.6s ease-out both;
}

.profile-thumbnail {
    width: 128px;
    height: 128px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid rgba(255, 216, 77, 0.8);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
    animation: rise-in 0.6s ease-out 0.04s both;
}

.tagline {
    font-size: clamp(0.78rem, 2.4vw, 0.9rem);
    font-weight: 300;
    color: #4db8ff;
    letter-spacing: 1.5px;
    margin-bottom: 35px;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    animation: rise-in 0.6s ease-out 0.08s both;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 2.5px;
    text-align: left;
    margin: 25px 0 12px 6px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    animation: rise-in 0.6s ease-out both;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 122, 0, 0.35), transparent);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: rise-in 0.5s ease-out both;
}

.link-label {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.links a::after {
    content: '→';
    font-weight: 300;
    opacity: 0.6;
    transform: translateX(-4px);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.links a:hover {
    background: var(--surface-hover);
    border-color: var(--surface-border-hover);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.links a:hover .icon {
    color: var(--accent);
}

.links a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.links a.highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.18);
    animation: rise-in 0.5s ease-out both, torch-glow 6s ease-in-out 1s infinite;
}

.links a.highlight:hover {
    animation-play-state: paused;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.footer-note {
    margin-top: 30px;
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.5);
    letter-spacing: 1px;
    animation: rise-in 0.6s ease-out 0.75s both;
}

.visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    padding: 6px 10px 6px 12px;
    border: 1px solid rgba(255, 216, 77, 0.28);
    border-radius: 6px;
    background: rgba(10, 10, 16, 0.52);
    color: rgba(226, 232, 240, 0.7);
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: rise-in 0.6s ease-out 0.8s both;
}

.visitor-count {
    min-width: 5ch;
    color: #ffd84d;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: right;
    text-shadow: 0 0 7px rgba(255, 216, 77, 0.35);
}

/* Staggered reveal for section titles and links */
.links > *:nth-child(1)  { animation-delay: 0.12s; }
.links > *:nth-child(2)  { animation-delay: 0.15s; }
.links > *:nth-child(3)  { animation-delay: 0.18s; }
.links > *:nth-child(4)  { animation-delay: 0.21s; }
.links > *:nth-child(5)  { animation-delay: 0.24s; }
.links > *:nth-child(6)  { animation-delay: 0.27s; }
.links > *:nth-child(7)  { animation-delay: 0.30s; }
.links > *:nth-child(8)  { animation-delay: 0.33s; }
.links > *:nth-child(9)  { animation-delay: 0.36s; }
.links > *:nth-child(10) { animation-delay: 0.39s; }
.links > *:nth-child(11) { animation-delay: 0.42s; }
.links > *:nth-child(12) { animation-delay: 0.45s; }
.links > *:nth-child(13) { animation-delay: 0.48s; }
.links > *:nth-child(14) { animation-delay: 0.51s; }
.links > *:nth-child(15) { animation-delay: 0.54s; }
.links > *:nth-child(16) { animation-delay: 0.57s; }
.links > *:nth-child(17) { animation-delay: 0.60s; }
.links > *:nth-child(18) { animation-delay: 0.63s; }
.links > *:nth-child(19) { animation-delay: 0.66s; }
.links > *:nth-child(20) { animation-delay: 0.69s; }
.links > *:nth-child(n+21) { animation-delay: 0.72s; }

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes torch-glow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(255, 122, 0, 0);
    }
    50% {
        box-shadow: 0 0 24px var(--accent-glow);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

.contact-toggle,.copy-btn{width:100%;padding:16px 20px;border-radius:14px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:white;cursor:pointer;font-size:1rem}
.contact-panel{display:none;margin-top:10px;padding:16px;border-radius:14px;background:rgba(255,255,255,.04)}
.email-display{margin-bottom:12px;color:#4db8ff;font-weight:700}
.copy-status{margin-top:8px;color:#ffd84d}
.profile-card {
    margin-top: 30px;
}

.profile-card-image {
    width: 100%;
    border-radius: 18px;
    display: block;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

