:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-color: #4a4a4a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --golden-metallic: linear-gradient(45deg, #FFD700, #DAA520, #B8860B);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(30,30,30,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(50,50,50,0.3) 0%, transparent 50%);
    animation: bg-shift 15s ease infinite;
    z-index: -2;
}

.dot-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: dots-move 20s linear infinite;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
}

header {
    text-align: center;
    margin-bottom: 4rem;
}

.shiny-text {
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(45deg, #e0e0e0, #ffffff, #c0c0c0);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(255,255,255,0.2);
    animation: shine 3s ease-in-out infinite;
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 2rem;
}

.tab {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    position: relative;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    overflow: hidden;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skew(-20deg) translateX(-100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.tab:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.tab:hover::before {
    transform: skew(-20deg) translateX(150%);
}

.tab:active {
    background-color: transparent;
    box-shadow: none;
}

.content {
    margin-top: 2rem;
}

.profile-section {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.profile-image {
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    width: 300px;
    height: 300px;
    border: 2px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glass-card {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text {
    line-height: 1.6;
    color: var(--text-color);
    font-size: 1.1rem;
}

.profile-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.personal-details-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin-top: 1rem;
}

.personal-detail-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.personal-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.name-card {
    background: rgba(0, 100, 255, 0.1);
    border: 1px solid rgba(0, 100, 255, 0.2);
}

.name-card::before {
    background: rgba(0, 100, 255, 0.3);
}

.height-card {
    background: rgba(255, 100, 0, 0.1);
    border: 1px solid rgba(255, 100, 0, 0.2);
}

.height-card::before {
    background: rgba(255, 100, 0, 0.3);
}

.blood-card {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.blood-card::before {
    background: rgba(255, 0, 0, 0.3);
}

.detail-emoji {
    font-size: 2rem;
    opacity: 0.8;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.3rem;
}

.detail-value {
    font-size: 1.1rem;
}

.achievements-title {
    margin-top: 2rem;
    background: var(--golden-metallic);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}



.achievements-more-btn {
    margin-top: 1rem;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.achievements-more-btn:hover {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.about-text {
    text-align: justify;
}

@keyframes dots-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -100px -100px;
    }
}

@keyframes bg-shift {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes shine {
    0%, 100% {
        background-position: 0 0;
    }
    50% {
        background-position: 200% 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .profile-section {
        gap: 2rem;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .shiny-text {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .profile-image {
        width: 200px;
        height: 200px;
    }

    .tabs {
        gap: 15px;
    }

    .tab {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .shiny-text {
        font-size: 1.8rem;
    }

    .glass-card h2 {
        font-size: 1.5rem;
    }

    .about-text {
        font-size: 1rem;
    }
}

/* Placeholder Pulse and Reveal Animations */
@keyframes placeholderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes placeholderSlideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.achievements-images {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.achievement-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    animation: 
        placeholderSlideIn 0.8s ease-out forwards,
        placeholderPulse 2s ease-in-out infinite;
    opacity: 0;
}

/* Staggered Animation for Placeholders */
.achievement-placeholder:nth-child(1) {
    animation-delay: 0.2s;
}

.achievement-placeholder:nth-child(2) {
    animation-delay: 0.4s;
}

.achievement-placeholder:nth-child(3) {
    animation-delay: 0.6s;
}

/* Personal Details Card Animations */
@keyframes cardSlideIn {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.personal-detail-card {
    animation: cardSlideIn 0.8s ease-out forwards;
    opacity: 0;
}

.name-card { animation-delay: 0.2s; }
.height-card { animation-delay: 0.4s; }
.blood-card { animation-delay: 0.6s; }

/* Achievements More Button Animation */
@keyframes buttonPop {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.achievements-more-btn {
    animation: 
        cardSlideIn 0.8s ease-out forwards,
        buttonPop 2s ease-in-out infinite;
    animation-delay: 0.8s;
    opacity: 0;
}

/* Glass Card Reveal Animation */
@keyframes glassCardReveal {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.glass-card {
    animation: glassCardReveal 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.6s;
}



.age-card {
    background: rgba(0, 255, 100, 0.1);
    border: 1px solid rgba(0, 255, 100, 0.2);
}

.age-card::before {
    background: rgba(0, 255, 100, 0.3);
}

.achievements-images {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.achievement-placeholder {
    width: 100px;
    height: 100px;
    border: 3px solid var(--gold-color);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 0 15px rgba(255,215,0,0.3);
    animation: placeholderSlideIn 0.8s ease-out forwards;
    opacity: 0;
}

.achievement-placeholder:hover {
    transform: scale(1.05);
}

.achievement-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills entire placeholder */
    object-position: center; /* Centers the image when cropping */
}

@keyframes placeholderSlideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.achievement-placeholder:nth-child(1) {
    animation-delay: 0.2s;
}

.achievement-placeholder:nth-child(2) {
    animation-delay: 0.4s;
}

.achievement-placeholder:nth-child(3) {
    animation-delay: 0.6s;
}