/* Minecraft Font */
@font-face {
    font-family: 'Minecraft';
    src: url('/font/minecraft-seven-2.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* MinecraftTen Font */
@font-face {
    font-family: 'MinecraftTen';
    src: url('/font/MinecraftTen-VGORe.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', ui-sans-serif, system-ui, sans-serif;
    overflow-x: hidden;
    color: #E0E0E0;
    background: #1a1a1a;
    min-height: 100vh;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar, html::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Header */
.header {
    position: fixed;
    top: 24px;
    left: 24px;
    right: 24px;
    z-index: 1000;
}

/* Hero Section */
.hero-section {
    background: #2a2a2a;
    padding: 10rem 2rem 5rem;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.hero-title {
    font-size: 1.6rem;
    letter-spacing: 1px;
    line-height: 1.3;
    font-family: 'MinecraftTen', 'Minecraft', 'Courier New', monospace;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #CCCCCC;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Mission Section */
.mission-section {
    background: #1a1a1a;
    padding: 5rem 2rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card {
    background: #2a2a2a;
    padding: 2rem;
    border: 4px solid;
    border-color: #3a3a3a #0a0a0a #0a0a0a #3a3a3a;
    box-shadow: inset 0 0 0 2px #1a1a1a, 0 6px 24px rgba(0,0,0,0.7);
    transition: all 0.3s ease;
}

.mission-card:hover {
    background: #3a3a3a;
    border-color: #4a4a4a #1a1a1a #1a1a1a #4a4a4a;
    box-shadow: inset 0 0 0 2px #2a2a2a, 0 8px 24px rgba(90,191,90,0.3);
}

.mission-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon i {
    font-size: 48px;
    color: #5ABF5A;
}

.mission-card h3 {
    font-size: 1.5rem;
    color: #FFFFA0;
    margin-bottom: 1rem;
    font-family: 'Minecraft', 'Courier New', monospace;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
    text-align: center;
}

.mission-card p {
    color: #CCCCCC;
    line-height: 1.6;
    text-align: center;
}

/* Profile Section */
.profile-section {
    background: #2a2a2a;
    padding: 5rem 2rem;
}

.profile-container {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    cursor: pointer;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    background: #3a3a3a;
    border: 4px solid;
    border-color: #5ABF5A #1A4D1A #1A4D1A #5ABF5A;
    box-shadow: 0 0 0 3px #000000, 0 8px 24px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #5ABF5A;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.profile-avatar-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border: 4px solid;
    border-color: #7FFF7F #2F8B2F #2F8B2F #7FFF7F;
    box-shadow: 0 0 0 3px #000000, 0 8px 32px rgba(90,191,90,0.6);
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 2;
}

.profile-avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar-wrapper:hover .profile-avatar-image {
    opacity: 1;
    transform: scale(1.05);
}

.profile-avatar-wrapper:hover .profile-avatar {
    transform: scale(0.95);
}

.profile-name {
    font-size: 2rem;
    color: #FFFFA0;
    font-family: 'Minecraft', 'Courier New', monospace;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-name::after {
    content: attr(data-pronoun);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: #5ABF5A;
    color: #1a1a1a;
    padding: 0.3rem 0.8rem;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    border: 2px solid;
    border-color: #7FFF7F #2F8B2F #2F8B2F #7FFF7F;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    text-shadow: 1px 1px 0px rgba(0,0,0,0.5);
    pointer-events: none;
    z-index: 10;
}

.profile-name:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.profile-name:hover {
    color: #7FFF7F;
    text-shadow: 
        2px 2px 0px rgba(0,0,0,0.8),
        0 0 15px rgba(90,191,90,0.6);
}

.profile-title {
    font-size: 1.1rem;
    color: #5ABF5A;
    font-weight: 600;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.skill-badge {
    background: #3a3a3a;
    padding: 0.8rem 1.2rem;
    text-align: center;
    border: 3px solid;
    border-color: #4a4a4a #1a1a1a #1a1a1a #4a4a4a;
    box-shadow: inset 0 0 0 1px #2a2a2a;
    color: #5ABF5A;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.skill-badge i {
    font-size: 18px;
}

/* Timeline Section */
.timeline-section {
    margin-top: 3rem;
}

.section-title {
    font-size: 2rem;
    color: #FFFFA0;
    font-family: 'Minecraft', 'Courier New', monospace;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    text-align: center;
}

.timeline {
    position: relative;
    padding-left: 0;
}

.timeline-item {
    background: #3a3a3a;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 4px solid;
    border-color: #4a4a4a #1a1a1a #1a1a1a #4a4a4a;
    box-shadow: inset 0 0 0 2px #2a2a2a, 0 6px 20px rgba(0,0,0,0.5);
    position: relative;
}

.timeline-year {
    font-size: 1.8rem;
    color: #5ABF5A;
    font-family: 'Minecraft', 'Courier New', monospace;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
    margin-bottom: 0.5rem;
}

.timeline-item h4 {
    font-size: 1.3rem;
    color: #FFFFA0;
    font-family: 'Minecraft', 'Courier New', monospace;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.8);
    margin-bottom: 1rem;
}

.timeline-item p {
    color: #CCCCCC;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: #1a1a1a;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5ABF5A, transparent);
    opacity: 0.5;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-quote {
    font-size: 1rem;
    color: #CCCCCC;
    font-style: italic;
    margin-top: 1.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 2rem;
}

.contact-quote::before,
.contact-quote::after {
    content: '"';
    font-size: 2.5rem;
    color: #5ABF5A;
    font-family: 'Minecraft', 'Courier New', monospace;
    opacity: 0.3;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: #2a2a2a;
    padding: 2.5rem 2rem;
    border: 4px solid;
    border-color: #3a3a3a #0a0a0a #0a0a0a #3a3a3a;
    box-shadow: inset 0 0 0 2px #1a1a1a, 0 8px 24px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    background: #353535;
    border-color: #5ABF5A #1A4D1A #1A4D1A #5ABF5A;
    box-shadow: inset 0 0 0 2px #2a2a2a, 0 12px 32px rgba(90,191,90,0.3);
    transform: translateY(-4px);
}

.contact-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(90,191,90,0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-card:hover .contact-card-glow {
    opacity: 1;
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #1a1a1a;
    border: 3px solid;
    border-color: #5ABF5A #1A4D1A #1A4D1A #5ABF5A;
    box-shadow: 
        inset 0 0 0 2px #2a2a2a,
        0 0 20px rgba(90,191,90,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-card:hover .contact-icon-wrapper {
    background: #2a2a2a;
    border-color: #7FFF7F #2F8B2F #2F8B2F #7FFF7F;
    box-shadow: 
        inset 0 0 0 2px #3a3a3a,
        0 0 30px rgba(90,191,90,0.5);
    transform: scale(1.1) rotateY(360deg);
}

.contact-icon-wrapper i {
    font-size: 2.5rem;
    color: #5ABF5A;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-wrapper i {
    color: #7FFF7F;
    text-shadow: 0 0 10px rgba(90,191,90,0.8);
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-card h4 {
    color: #FFFFA0;
    margin-bottom: 0.75rem;
    font-family: 'Minecraft', 'Courier New', monospace;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.contact-card p {
    color: #CCCCCC;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-card a {
    color: #5ABF5A;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    font-weight: 600;
}

.contact-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7FFF7F;
    transition: width 0.3s ease;
}

.contact-card:hover a {
    color: #7FFF7F;
}

.contact-card:hover a::after {
    width: 100%;
}

/* Social Section */
.social-section {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: #2a2a2a;
    border: 4px solid;
    border-color: #3a3a3a #0a0a0a #0a0a0a #3a3a3a;
    box-shadow: inset 0 0 0 2px #1a1a1a;
    position: relative;
}

.social-title {
    font-family: 'Minecraft', 'Courier New', monospace;
    font-size: 1.5rem;
    color: #FFFFA0;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #1a1a1a;
    border: 3px solid;
    border-color: #3a3a3a #0a0a0a #0a0a0a #3a3a3a;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 120px;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(90,191,90,0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-link:hover::before {
    width: 200px;
    height: 200px;
}

.social-link:hover {
    background: #2a2a2a;
    border-color: #5ABF5A #1A4D1A #1A4D1A #5ABF5A;
    box-shadow: 0 0 20px rgba(90,191,90,0.4);
    transform: translateY(-5px);
}

.social-link:active {
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(90,191,90,0.3);
}

.social-link i {
    font-size: 28px;
    color: #5ABF5A;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-link:hover i {
    color: #7FFF7F;
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(90,191,90,0.8));
}

.social-label {
    font-family: 'Minecraft', 'Courier New', monospace;
    font-size: 0.75rem;
    color: #CCCCCC;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.8);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-link:hover .social-label {
    color: #FFFFFF;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        top: 12px;
        left: 12px;
        right: 12px;
    }
    
    .hero-section {
        padding: 8rem 1.5rem 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .mission-section,
    .profile-section,
    .contact-section {
        padding: 3rem 1.5rem;
    }
    
    .mission-grid,
    .skills-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-avatar-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .profile-avatar,
    .profile-avatar-image {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .profile-name::after {
        top: -22px;
        font-size: 0.6rem;
        padding: 0.25rem 0.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .timeline-item {
        padding: 1.5rem;
    }
    
    .timeline-year {
        font-size: 1.3rem;
    }
    
    .contact-quote {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .contact-quote::before,
    .contact-quote::after {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .contact-icon-wrapper i {
        font-size: 2rem;
    }
    
    .contact-card h4 {
        font-size: 1.1rem;
    }
    
    .social-section {
        padding: 2rem 1rem;
    }
    
    .social-title {
        font-size: 1.2rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        padding: 0.8rem 1rem;
        min-width: 80px;
    }
    
    .social-link i {
        font-size: 24px;
    }
    
    .social-label {
        font-size: 0.7rem;
    }
}

/* Hide info modal when not active */
.info-modal:not(.active) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.info-modal:not(.active) * {
    display: none !important;
    visibility: hidden !important;
}

/* Hide any debug or unwanted elements in bottom left */
body::after,
body::before,
main::after,
main::before {
    display: none !important;
}

