/* ============================================
   Pop-Art Comic Book Bio Page
   Clean Aesthetic meets Comic Book Style
   ============================================ */

/* CSS Custom Properties */
:root {
    --bg-color: #F9F9F9;
    --text-color: #000000;
    --accent-color: #89CFF0;
    /* Pastel Blue */
    --accent-yellow: #FFEB3B;
    /* Pop-Art Yellow */
    --border-width: 3px;
    --shadow-offset: 4px;
    --font-headline: 'Neucha', cursive;
    --font-body: 'Pangolin', cursive;
    --divider-color: rgba(0, 0, 0, 0.202);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Ben-Day Dots - Classic Comic Book Effect */
    background-image:
        radial-gradient(circle, rgba(0, 0, 0, 0.06) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(137, 207, 240, 0.08) 2px, transparent 2px);
    background-size: 12px 12px, 20px 20px;
    background-position: 0 0, 6px 6px;
}

/* Container */
.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* ============================================
   Hero Image - Profile Photo
   ============================================ */
.hero-image {
    position: relative;
    margin-bottom: 2rem;
}

.profile-shadow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--text-color);
    top: 6px;
    left: 6px;
    z-index: 0;
}

.profile-photo {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: var(--border-width) solid var(--text-color);
    object-fit: cover;
    z-index: 1;
    background-color: var(--accent-color);
}

/* ============================================
   Name - Primary heading
   ============================================ */
.name {
    font-family: var(--font-headline);
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    text-align: center;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    letter-spacing: 1px;
}

/* ============================================
   Headline - Tagline
   ============================================ */
.headline {
    font-family: var(--font-headline);
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #555555;
    line-height: 1.4;
}

/* ============================================
   Bio Content
   ============================================ */
.bio-content {
    width: 100%;
    margin-bottom: 2.5rem;
}

.bio-text {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    text-align: left;
}

.bio-text strong {
    font-weight: 700;
    color: var(--text-color);
}

/* Section Divider */
.section-divider {
    border: none;
    height: 1px;
    background-color: var(--divider-color);
    margin: 1.75rem 0;
}

/* Text Block 2: Lists */
.lists-section {
    text-align: left;
    padding: 0 0.5rem;
}

.lists-section .bio-text {
    text-align: left;
    margin-bottom: 0.75rem;
}

/* Text Block 3: Warning - Clean style */
.bio-text.warning {
    font-weight: 600;
    font-style: italic;
    text-align: center;
}

.bio-text.schedule {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    text-align: center;
}

/* ============================================
   Action Buttons - Neo-Brutalism / Pop-Art Style
   ============================================ */
.action-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background-color: #FFFFFF;
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: var(--border-width) solid var(--text-color);
    border-radius: 8px;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--text-color);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s ease;
}

.btn:hover {
    transform: translate(2px, 2px) scale(1.02);
    box-shadow: 2px 2px 0px var(--text-color);
}

.btn:hover::after {
    background: rgba(255, 255, 255, 0.1);
}

.btn:active,
.btn.pressed {
    transform: translate(var(--shadow-offset), var(--shadow-offset)) scale(0.98);
    box-shadow: none;
    transition: all 0.1s ease;
}

.btn.pressed::after {
    background: rgba(0, 0, 0, 0.1);
}

.btn-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-title {
    font-weight: 700;
    font-size: 1rem;
}

.btn-subtitle {
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Individual button styles with soft brand colors */
#instagram-btn {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    color: #8B4513;
    border-color: #D4A574;
}

#instagram-btn:hover {
    background: linear-gradient(135deg, #fcb69f, #ffecd2);
    color: #8B4513;
    border-color: #C69565;
}

#telegram-btn {
    background: linear-gradient(135deg, #d4e4f7, #a8c8e8);
    color: #2A5A8A;
    border-color: #8BADC9;
}

#telegram-btn:hover {
    background: linear-gradient(135deg, #a8c8e8, #d4e4f7);
    color: #2A5A8A;
    border-color: #7A9BB8;
}

#m10-btn {
    background: linear-gradient(135deg, #d4f5d4, #a8e6a8);
    color: #2E7D32;
    border-color: #81C784;
}

#m10-btn:hover {
    background: linear-gradient(135deg, #a8e6a8, #d4f5d4);
    color: #2E7D32;
    border-color: #66BB6A;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    width: 100%;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.75rem;
    color: #AAAAAA;
    font-family: var(--font-body);
}

.footer a {
    color: #bd63ee;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (min-width: 768px) {
    .container {
        padding: 3rem 2rem;
    }

    .profile-shadow,
    .profile-photo {
        width: 200px;
        height: 200px;
    }

    .headline {
        font-size: 2.25rem;
    }

    .bio-text {
        font-size: 1.05rem;
    }
}

/* ============================================
   Page Load Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

/* Apply animations to elements */
.hero-image {
    animation: scaleIn 0.6s ease-out forwards;
}

.name {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 0.2s forwards;
}

.headline {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 0.35s forwards;
}

.bio-content {
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.5s forwards;
}

.bio-content .bio-text {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.bio-content .bio-text:nth-child(1) {
    animation-delay: 0.55s;
}

.section-divider {
    opacity: 0;
    animation: fadeIn 0.4s ease-out 0.7s forwards;
}

.lists-section .bio-text:nth-child(1) {
    animation-delay: 0.75s;
}

.lists-section .bio-text:nth-child(2) {
    animation-delay: 0.85s;
}

.bio-text.warning {
    animation-delay: 0.95s;
}

.bio-text.schedule {
    animation-delay: 1.05s;
}

.action-buttons .btn {
    opacity: 0;
    animation: slideInFromLeft 0.5s ease-out forwards;
}

.action-buttons .btn:nth-child(1) {
    animation-delay: 1.1s;
}

.action-buttons .btn:nth-child(2) {
    animation-delay: 1.2s;
}

.action-buttons .btn:nth-child(3) {
    animation-delay: 1.3s;
}

.footer {
    opacity: 0;
    animation: fadeIn 0.5s ease-out 1.4s forwards;
}