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

/* Text Selection */
::selection {
    background-color: #666666;
    color: #ffffff;
}

::-moz-selection {
    background-color: #666666;
    color: #ffffff;
}

:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --hover-color: #cccccc;
    --blur-overlay: rgba(10, 10, 10, 0.8);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    cursor: none;
    min-height: 100vh;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 9999;
    left: 0;
    top: 0;
    will-change: transform;
    opacity: 1;
}

.custom-cursor::before,
.custom-cursor::after {
    content: '';
    position: absolute;
    background: var(--text-color);
    opacity: 1;
}

.custom-cursor::before {
    width: 2px;
    height: 20px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.custom-cursor::after {
    width: 20px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Entry Overlay */
.entry-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blur-overlay);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.8s ease-out, backdrop-filter 0.8s ease-out;
}

.entry-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0px);
}

.entry-content {
    text-align: center;
}

.typing-text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    min-height: 1.2em;
    color: var(--text-color);
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 0.1em;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.continue-btn {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: lowercase;
    cursor: none;
    opacity: 0;
    transition: all 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.continue-btn.visible {
    opacity: 1;
}

.continue-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--text-color);
    transition: left 0.4s ease-out;
    z-index: -1;
}

.continue-btn:hover::before {
    left: 0;
}

.continue-btn:hover {
    color: var(--bg-color);
}

/* Main Content */
.main-content {
    opacity: 0;
    transition: opacity 1s ease-in 0.5s;
    padding: 4rem 2rem;
    min-height: 100vh;
}

.main-content.visible {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 1s forwards;
}

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

/* Profiles Grid */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    padding: 2rem 0;
}

.profile-card {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.profile-card:nth-child(1) { animation-delay: 1.5s; }
.profile-card:nth-child(2) { animation-delay: 1.7s; }
.profile-card:nth-child(3) { animation-delay: 1.9s; }
.profile-card:nth-child(4) { animation-delay: 2.1s; }
.profile-card:nth-child(5) { animation-delay: 2.3s; }
.profile-card:nth-child(6) { animation-delay: 2.5s; }
.profile-card:nth-child(7) { animation-delay: 2.7s; }
.profile-card:nth-child(8) { animation-delay: 2.9s; }
.profile-card:nth-child(9) { animation-delay: 3.1s; }

.profile-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.profile-image-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.profile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
}

.profile-image-wrapper:hover .profile-image {
    transform: scale(1.1);
}

.profile-name {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    color: var(--text-color);
    opacity: 0.9;
    transition: opacity 0.3s ease-out;
}

.profile-card:hover .profile-name {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .profiles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .main-content {
        padding: 2rem 1rem;
    }
}

/* Mute Button */
.mute-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: all 0.3s ease-out;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1.5s forwards;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    min-width: 80px;
}

.mute-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.mute-btn.muted {
    opacity: 0.6;
}

.mute-btn.muted:hover {
    opacity: 1;
}

.mute-text {
    display: block;
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0.15em;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

