:root {
    --primary: #0a0a0a;
    --secondary: #141414;
    --accent: #c0c0c0;
    --text: #ffffff;
    --metallic-light: #ffffff;
    --metallic-dark: #808080;
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 2rem 2rem;
}

/* Typing Animation */
.typing-container {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text);
    position: relative;
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.typing-text {
    border-right: 2px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3s steps(8) infinite;
    opacity: 0;
}

.cursor {
    position: absolute;
    right: -12px;
    top: 0;
    color: var(--text);
    animation: blink 1s step-end infinite;
}

@keyframes typing {
    0% {
        width: 0;
        opacity: 1;
    }
    40% {
        width: 100%;
        opacity: 1;
    }
    60% {
        width: 100%;
        opacity: 1;
    }
    80%, 100% {
        width: 0;
        opacity: 1;
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Metallic Text Effect */
.metallic-text {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.8) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.metallic-text:hover {
    animation: shine 1s linear infinite;
}

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

/* Header Styles */
.header {
    padding: 1rem 0;
    margin-bottom: 4rem;
    text-align: center;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 0;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    color: var(--accent);
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0.9;
}

.stat i {
    font-size: 1.3rem;
    color: var(--accent);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 50%, rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--accent);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Profiles Section */
.profiles-section {
    min-height: auto;
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.profiles-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.profiles-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.profiles-grid .profile-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    margin: 0;
    transform: none;
    position: relative;
    overflow: hidden;
}

.profiles-grid .profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 50%, rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profiles-grid .profile-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.profiles-grid .profile-card:hover::before {
    opacity: 1;
}

.profiles-grid .profile-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.profiles-grid .profile-card p {
    color: var(--accent);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text);
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    opacity: 1;
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .stats-bar {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .profiles-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        max-width: 600px;
    }
    
    .profiles-grid .profile-card {
        width: 180px;
        height: 80px;
    }
    
    .profiles-grid .profile-card h3 {
        font-size: 1rem;
    }
    
    .profiles-grid .profile-card p {
        font-size: 0.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

.profile-container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.profile-name {
    font-size: 32px;
    font-weight: 600;
    line-height: 34px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7),
                 0 0 20px rgba(255, 255, 255, 0.5),
                 0 0 30px rgba(255, 255, 255, 0.3);
}

.profile-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    transform: translateY(2px); /* Align badges with text */
}

.badge {
    font-size: 1.2rem;
    color: #f0f0f0;
    filter: drop-shadow(#f0f0f0 0 0 2.5px);
}

.profile-stats {
    position: absolute;
    bottom: 0.7rem;
    left: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Added subtle shadow for better contrast */
}

/* Added stat separator */
.stat-item:first-child {
    position: relative;
    padding-right: 1.5rem;
}

.stat-item:first-child::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 14px;  /* Height of the separator line */
    width: 1px;
    background: rgba(255, 255, 255, 0.3);  /* Subtle separator color */
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9); /* Increased opacity for better readability */
    font-weight: 500; /* Added slight boldness */
}

.stat-item img {
    width: 16px;
    height: 16px;
    opacity: 0.9; /* Increased opacity for icons */
}

/* Horizontal line */
hr {
    border: none;
    border-top: 1px solid #333333;
    margin: 2rem 0;
    width: 100%;
}

/* Icons */
.icon {
    opacity: 0.8;
}

/* Small profile icon */
.small-profile {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
}

.small-profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Hover effects */
.profile-image:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Animation for badges */
.badge {
    transition: transform 0.2s ease;
}

.badge:hover {
    transform: translateY(-2px);
}

.enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.enter-text {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.8;
}

.profile-card {
    background-color: rgba(20, 20, 20, 0);
    padding: 1.5rem 2rem 2.5rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    width: 780px;
    margin: 0 auto;
    text-align: left;
    min-height: 180px;
    transform: translate(-8%, -5%);
    transform-style: preserve-3d;
    will-change: transform;
    perspective: 800px;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1); /* Smooth transition restored */
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: -0.5rem;
}

.profile-image {
    width: 125px; /* Bigger profile picture */
    height: 125px; /* Bigger profile picture */
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.profile-name {
    font-size: 32px;
    font-weight: 600;
    line-height: 34px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.profile-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.2rem; /* Slight adjustment */
}

.badge {
    font-size: 1.2rem;
    color: #f0f0f0;
    filter: drop-shadow(#f0f0f0 0 0 2.5px);
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.3), /* More visible middle */
        transparent
    );
    margin: 1.2rem 0; /* Slightly increased margin */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1); /* Added subtle glow */
}

.profile-container.visible {
    opacity: 1;
}

/* Optional: make the neon effect stronger */
@keyframes neonPulse {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7),
                     0 0 20px rgba(255, 255, 255, 0.5),
                     0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8),
                     0 0 25px rgba(255, 255, 255, 0.6),
                     0 0 35px rgba(255, 255, 255, 0.4);
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7),
                     0 0 20px rgba(255, 255, 255, 0.5),
                     0 0 30px rgba(255, 255, 255, 0.3);
    }
}

.profile-name {
    animation: neonPulse 2s ease-in-out infinite;
}

/* Reset old tooltip styles */
[data-tooltip] {
    position: relative;
}

/* Reset and simplify tooltip system */
.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 12px; /* Increased padding */
    border-radius: 4px;
    font-size: 12.5px; /* Slightly bigger font */
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    line-height: 1.3; /* Slightly increased line height */
}

.tooltip:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px; /* Slightly bigger arrow */
    height: 8px; /* Slightly bigger arrow */
    background-color: rgba(0, 0, 0, 0.85);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Remove any glow effects from tooltips */
.tooltip-container .tooltip {
    text-shadow: none;
    filter: none;
}

/* Specific adjustments for badges */
.badge[data-tooltip]:before {
    font-size: 12px;
}

/* Username tooltip adjustment */
.profile-name[data-tooltip]:before {
    left: 0;
    transform: translateX(0);
}

/* Keep the neon effect only on the username text, not the tooltip */
.profile-name {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7),
                 0 0 20px rgba(255, 255, 255, 0.5),
                 0 0 30px rgba(255, 255, 255, 0.3);
}

.profile-name .tooltip {
    text-shadow: none;
}

/* Telegram icon styles */
.telegram-link {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.telegram-link:hover {
    opacity: 1;
}

.telegram-icon {
    width: 24px;
    height: 24px;
}

/* Mobile styles */
@media (max-width: 850px) {
    .profile-card {
        width: 90%;
        transform: none;
        margin: 2rem auto;
        padding: 1.2rem 1.5rem 2rem 1.5rem;
    }

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

    .profile-name {
        font-size: 28px;
        line-height: 30px;
    }

    .profile-stats {
        bottom: 0.5rem;
        left: 1rem;
    }

    .telegram-link {
        top: 1rem;
        right: 1rem;
    }
}

.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.music-player.visible {
    opacity: 1;
    visibility: visible;
}

.music-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.controls {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

#playPauseBtn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

#playPauseBtn:hover {
    opacity: 1;
}

.play-icon, .pause-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(1.1); /* Makes the white a bit brighter */
}

#seekBar {
    width: 150px;
    height: 3px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5px;
    cursor: pointer;
    position: relative;
}

#seekBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 2px;
    height: 12px;
    background: white;
    border-radius: 1px;
    cursor: pointer;
    margin-top: -4.5px; /* Centers the line vertically */
}

#seekBar::-moz-range-thumb {
    width: 2px;
    height: 12px;
    background: white;
    border: none;
    border-radius: 1px;
    cursor: pointer;
}

#seekBar::-webkit-slider-runnable-track {
    height: 3px;
    background: linear-gradient(to right, white var(--seek-percent, 0%), rgba(255, 255, 255, 0.1) var(--seek-percent, 0%));
    border-radius: 1.5px;
}

#seekBar::-moz-range-track {
    height: 3px;
    background: linear-gradient(to right, white var(--seek-percent, 0%), rgba(255, 255, 255, 0.1) var(--seek-percent, 0%));
    border-radius: 1.5px;
}

.time-display {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-family: monospace;
}

/* Navigation Styles */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent);
}

.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 24px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.notification .metallic-text {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.8) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 2s linear infinite;
} 