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

/* Performance optimizations */
html {
    will-change: auto;
}

body {
    will-change: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Prevent right-click saving of images */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Prevent zooming on mobile */
html, body {
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* iOS specific zoom prevention */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Prevent iOS zoom on input focus */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    /* iOS touch handling */
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}



body {
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    background: url('iobg.png?v=5') no-repeat center center fixed;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, 0.1) 88%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
    z-index: 1;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.character-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    position: relative;
    z-index: 3;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    display: none;
    width: 50px;
    height: 50px;
    background: #c0c0c0;
    border-radius: 0;
    box-shadow: 
        inset -1px -1px 0 #000000,
        inset 1px 1px 0 #ffffff,
        inset -2px -2px 0 #808080,
        inset 2px 2px 0 #dfdfdf;
    position: relative;
    border: none;
    pointer-events: all;
}

.hamburger-icon {
    width: 16px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    margin-top: -2px;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #000000;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    left: 0;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 6px;
}

.hamburger-icon span:nth-child(3) {
    top: 12px;
}

.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 6px;
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 6px;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
}

.menu-content {
    position: absolute;
    top: 80px;
    left: 20px;
    background: #c0c0c0;
    border-radius: 0;
    padding: 16px 20px 20px 20px;
    min-width: 140px;
    box-shadow: 
        inset -1px -1px 0 #000000,
        inset 1px 1px 0 #ffffff,
        inset -2px -2px 0 #808080,
        inset 2px 2px 0 #dfdfdf;
    border: none;
}





.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.social-link {
    color: white;
    text-decoration: none;
    font-family: 'Outfit', 'Space Grotesk', 'Arial', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.6px;
    display: block;
    text-align: center;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
}

.social-link:hover {
    color: #cccccc;
}


/* Desktop styles - show hamburger menu */
@media (min-width: 769px) {
    .hamburger-menu {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
    }
    
    .menu-content .social-links {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        width: 100%;
        margin-top: 0;
    }
    
    .menu-content .social-link {
        font-size: 0.95rem;
        padding: 10px 16px;
        border-radius: 0;
        transition: all 0.2s ease;
        text-align: left;
        width: 100%;
        display: block;
        text-shadow: none;
        font-weight: normal;
        color: #000000;
        font-family: 'MS Sans Serif', 'Microsoft Sans Serif', Arial, sans-serif;
    }
    
    .menu-content .social-link:hover {
        background: #000080;
        color: #ffffff;
        box-shadow: 
            inset -1px -1px 0 #000000,
            inset 1px 1px 0 #ffffff;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
    
    .hamburger-menu {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        background: #c0c0c0;
        border-radius: 0;
        box-shadow: 
            inset -1px -1px 0 #000000,
            inset 1px 1px 0 #ffffff,
            inset -2px -2px 0 #808080,
            inset 2px 2px 0 #dfdfdf;
        border: none;
    }
    
    .menu-content {
        background: #c0c0c0;
        border-radius: 0;
        padding: 16px 20px 20px 20px;
        min-width: 140px;
        box-shadow: 
            inset -1px -1px 0 #000000,
            inset 1px 1px 0 #ffffff,
            inset -2px -2px 0 #808080,
            inset 2px 2px 0 #dfdfdf;
        border: none;
    }
    
    .menu-content .social-links {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
        width: 100%;
        margin-top: 0;
    }
    
    .menu-content .social-link {
        font-family: 'MS Sans Serif', 'Microsoft Sans Serif', Arial, sans-serif;
        color: #000000;
        text-shadow: none;
        font-weight: normal;
        font-size: 1rem;
        padding: 12px 16px;
        border-radius: 0;
        transition: all 0.2s ease;
        text-align: left;
        width: 100%;
        display: block;
        min-height: 44px;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
    
    .menu-content .social-link:hover {
        background: #000080;
        color: #ffffff;
        box-shadow: 
            inset -1px -1px 0 #000000,
            inset 1px 1px 0 #ffffff;
    }
    
    .character-container {
        padding: 10px;
    }
    
    .social-link {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .social-link {
        font-size: 1.1rem;
    }
}




