/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global scrollbar hiding - all browsers */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

*::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
    width: 0;
    height: 0;
}

html {
    scroll-behavior: smooth;
    overflow: hidden; /* Hide all scrollbars */
}

/* Hide scrollbars for all browsers */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

html {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

body {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Performance optimizations */
* {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

/* Additional optimizations for smooth transitions */
.verification-overlay,
.verification-card,
#main-content {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* GPU acceleration for smoother animations */
.exiting,
.entering,
.entered,
.smooth-transition {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    height: 100vh; /* Fixed height to prevent scrolling */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden; /* Hide all scrollbars */
    transition: overflow 0.5s ease;
}

/* Ensure main content is hidden on page load */
#main-content {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    z-index: -1000 !important;
    transform: translateX(-9999px) !important;
}

/* Override when showing main content */
#main-content.main-content-visible {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1000 !important;
    transform: none !important;
}

/* Remove problematic body overlay that might block interactions */

/* Verification Overlay Styles */
.verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 18, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: overlayAppear 0.6s ease-out;
    transform: translateZ(0);
    will-change: opacity, transform, filter;
}

/* Smooth exit transition styles */
.verification-overlay.exiting {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(5px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, filter 0.3s ease-out;
}

/* Ensure verification overlay can be hidden */
.verification-overlay[style*="display: none"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1000 !important;
}

/* Additional security layer behind verification */
.verification-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 12, 0.95);
    z-index: -1;
    pointer-events: none;
}

@keyframes overlayAppear {
    0% {
        opacity: 0;
        transform: scale(1.02) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateZ(0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1) translateZ(0);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.01) translateZ(0);
    }
    100% {
        opacity: 0;
        transform: scale(1.02) translateZ(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(0);
    }
}

.verification-container {
    max-width: 450px;
    width: 90%;
    padding: 0;
}

.verification-card {
    background: rgba(15, 15, 20, 0.92);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 12px 50px -1px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 4px 20px rgba(221, 27, 66, 0.1);
    animation: cardSlideIn 0.8s ease-out 0.2s both;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-out;
    transform: translateZ(0);
    will-change: transform, opacity;
}

.verification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(221, 27, 66, 0.08), transparent, rgba(114, 137, 218, 0.08));
    opacity: 0.8;
    pointer-events: none;
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95) translateZ(0);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(0);
    }
}

.verification-header {
    text-align: center;
    margin-bottom: 2rem;
}

.verification-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #DD1B42;
    margin-bottom: 1rem;
    animation: logoFloatSimple 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(221, 27, 66, 0.5);
    transition: all 0.3s ease-out;
    transform: translateZ(0);
    will-change: transform;
}

@keyframes logoFloatSimple {
    0%, 100% { 
        transform: translateY(0) translateZ(0);
    }
    50% { 
        transform: translateY(-5px) translateZ(0);
    }
}

.verification-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(221, 27, 66, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.verification-header p {
    color: #e0e0e0;
    font-size: 1rem;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.security-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(10, 10, 15, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0.5rem;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.feature.active {
    animation: featureActivate 0.4s ease-out;
    will-change: transform, opacity;
}

@keyframes featureActivate {
    0% {
        opacity: 0;
        transform: scale(0.9) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateZ(0);
    }
}

.feature i {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
    transform: translateZ(0);
    transition: all 0.3s ease-out;
}

.feature span {
    font-size: 0.85rem;
    color: #cccccc;
    font-weight: 500;
}

.verification-process {
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.loading-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-fill {
    height: 100%;
    background: linear-gradient(90deg, #DD1B42 0%, #5865F2 50%, #DD1B42 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: shimmerOptimized 2s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(221, 27, 66, 0.4);
    transform: translateZ(0);
    will-change: width, background-position;
}

@keyframes shimmerOptimized {
    0% { 
        background-position: 200% 0;
        transform: translateZ(0);
    }
    100% { 
        background-position: -200% 0;
        transform: translateZ(0);
    }
}

.loading-text {
    text-align: center;
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease-out;
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* Removed textFade animation for better performance */

.verification-actions {
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;
}

.captcha-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.captcha-checkbox {
    position: relative;
    margin-right: 1rem;
}

.captcha-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.captcha-checkbox label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid #DD1B42;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.captcha-checkbox label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(221, 27, 66, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.captcha-checkbox label:hover::before {
    opacity: 1;
}

.captcha-checkbox label i {
    color: transparent;
    font-size: 14px;
    transition: all 0.2s ease;
    transform: scale(0);
    position: relative;
    z-index: 1;
}

.captcha-checkbox input[type="checkbox"]:checked + label {
    background: #DD1B42;
    border-color: #DD1B42;
    box-shadow: 0 0 20px rgba(221, 27, 66, 0.6);
}

.captcha-checkbox input[type="checkbox"]:checked + label i {
    color: white;
    transform: scale(1);
}

.captcha-checkbox input[type="checkbox"]:focus + label {
    outline: 2px solid rgba(221, 27, 66, 0.6);
    outline-offset: 2px;
    transition: outline 0.3s ease;
}

.enter-button:focus {
    outline: 2px solid rgba(221, 27, 66, 0.6);
    outline-offset: 2px;
    transition: outline 0.3s ease;
}

/* Removed checkbox animations for better performance */

.captcha-container span {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
}

.enter-button {
    background: linear-gradient(135deg, #DD1B42, #FF4D6D);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    opacity: 0.5;
    transform: scale(0.95);
    box-shadow: 0 4px 15px rgba(221, 27, 66, 0.3);
    position: relative;
    overflow: hidden;
}

.enter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.enter-button.enabled::before {
    left: 100%;
}

.enter-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: scale(0.95);
}

.enter-button.enabled {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 6px 25px rgba(221, 27, 66, 0.5);
}

.enter-button.enabled:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(221, 27, 66, 0.6);
    background: linear-gradient(135deg, #FF1B42, #FF6D8D);
}

.enter-button i {
    transition: transform 0.2s ease;
    position: relative;
    z-index: 1;
}

.enter-button.enabled:hover i {
    transform: translateX(3px);
}

/* Removed unused animations for better performance */

.security-info {
    margin-top: 2rem;
    text-align: center;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(10, 10, 15, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.security-badge i {
    color: #4CAF50;
    font-size: 1.2rem;
    text-shadow: 0 0 12px rgba(76, 175, 80, 0.6);
    transform: translateZ(0);
    transition: all 0.3s ease-out;
}

.security-badge div strong {
    color: #ffffff;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.2rem;
}

.security-badge div small {
    color: #cccccc;
    font-size: 0.75rem;
}

/* Main Content Visibility States */
.main-content-hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    z-index: -1000 !important;
}

.main-content-visible {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1000 !important;
    animation: mainContentAppear 0.6s ease-out;
}

/* Force show main content with highest specificity */
body #main-content.main-content-visible {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1000 !important;
    transform: none !important;
}

@keyframes mainContentAppear {
    0% {
        opacity: 0;
        transform: scale(0.96) translateY(25px) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) translateZ(0);
    }
}

/* Smooth transition helper classes */
.smooth-transition {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, filter 0.4s ease-out !important;
    will-change: opacity, transform, filter;
}

.entering {
    opacity: 0;
    transform: scale(0.94) translateY(30px);
    filter: blur(3px);
}

.entered {
    opacity: 1;
    transform: scale(1) translateY(0px);
    filter: blur(0px);
}

/* Optimized transition for button loading state */
.button-loading {
    transition: all 0.2s ease !important;
    will-change: opacity, transform;
}

/* Background with blur effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.imgur.com/8qvc2N4.jpeg') center/cover no-repeat;
    filter: blur(8px) brightness(0.4);
    z-index: -1;
    transform: scale(1.1);
    animation: backgroundPulse 20s ease-in-out infinite;
    overflow: hidden; /* Prevent any overflow */
    will-change: transform; /* Optimize for animations */
}

@keyframes backgroundPulse {
    0%, 100% { 
        transform: scale(1.1) translateZ(0); /* Add translateZ for GPU acceleration */
    }
    50% { 
        transform: scale(1.12) translateZ(0); /* Reduced scale difference */
    }
}

.container {
    max-width: 800px;
    width: 100%;
    max-height: calc(100vh - 40px); /* Ensure container fits in viewport */
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 24px -1px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    overflow-y: hidden; /* Hide any internal scrollbars */
    overflow-x: hidden;
    animation: containerAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0; /* Remove margin that could cause scrolling */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes containerAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Profile header styles */
.profile-header {
    text-align: left;
    margin-bottom: 1.3rem;
    animation: headerAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes headerAppear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-info {
    flex: 1;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #DD1B42;
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(221, 27, 66, 0.5);
    animation: imageAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.profile-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(221, 27, 66, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.profile-img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 40px rgba(221, 27, 66, 0.7);
}

.profile-img:hover::after {
    opacity: 1;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(221, 27, 66, 0.6);
    letter-spacing: 1px;
    font-weight: 700;
    transition: all 0.3s ease;
}

h1:hover {
    text-shadow: 0 0 20px rgba(221, 27, 66, 0.8);
    transform: translateY(-2px);
}

.tagline {
    color: #DD1B42;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 0 10px rgba(221, 27, 66, 0.3);
    transition: all 0.3s ease;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.tagline:hover {
    text-shadow: 0 0 15px rgba(221, 27, 66, 0.5);
    transform: translateX(5px);
}

.email-container {
    position: relative;
    display: inline-block;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.email-text {
    font-weight: 500;
}

.email-label {
    font-size: 0.8rem;
    background: rgba(221, 27, 66, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 500;
}

.copy-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.copy-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 0, 0, 0.8);
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.contact-email:hover {
    background: rgba(221, 27, 66, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(221, 27, 66, 0.3);
    border: 1px solid rgba(221, 27, 66, 0.3);
}

.contact-email:hover::before {
    opacity: 1;
}

.contact-email i {
    color: #DD1B42;
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.contact-email:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Social links styles */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
    animation: linksAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1s both;
}

@keyframes linksAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 24px -1px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    will-change: transform, box-shadow;
}

.link-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.05)
    );
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(100%);
}

.link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 32px -1px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.link:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.link i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.link:hover i {
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

.link span {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 0.2rem;
}

.link:hover span {
    transform: translateX(2px);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Link descriptions styles */
.link-description {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.1rem;
    margin-left: 0;
    font-weight: 400;
    font-style: italic;
    opacity: 0.8;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    line-height: 1.2;
}

.link:hover .link-description {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
    transform: translateX(2px);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Individual link styles */
.twitch-link {
    background: linear-gradient(135deg, rgba(100, 65, 165, 0.5), rgba(42, 8, 69, 0.5));
    box-shadow: 
        0 4px 24px -1px rgba(100, 65, 165, 0.5),
        0 0 0 1px rgba(100, 65, 165, 0.4);
}

.twitch-link:hover {
    background: linear-gradient(135deg, rgba(100, 65, 165, 0.6), rgba(42, 8, 69, 0.6));
    box-shadow: 
        0 8px 32px -1px rgba(100, 65, 165, 0.6),
        0 0 0 1px rgba(100, 65, 165, 0.5);
}

.youtube-link {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.5), rgba(204, 0, 0, 0.5));
    box-shadow: 
        0 4px 24px -1px rgba(255, 0, 0, 0.5),
        0 0 0 1px rgba(255, 0, 0, 0.4);
}

.youtube-link:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.6), rgba(204, 0, 0, 0.6));
    box-shadow: 
        0 8px 32px -1px rgba(255, 0, 0, 0.6),
        0 0 0 1px rgba(255, 0, 0, 0.5);
}

.discord-link {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.5), rgba(78, 93, 148, 0.5));
    box-shadow: 
        0 4px 24px -1px rgba(114, 137, 218, 0.5),
        0 0 0 1px rgba(114, 137, 218, 0.4);
}

.discord-link:hover {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.6), rgba(78, 93, 148, 0.6));
    box-shadow: 
        0 8px 32px -1px rgba(114, 137, 218, 0.6),
        0 0 0 1px rgba(114, 137, 218, 0.5);
}

.instagram-link {
    background: linear-gradient(135deg, 
        rgba(225, 48, 108, 0.5), 
        rgba(193, 53, 132, 0.5),
        rgba(252, 175, 69, 0.5),
        rgba(245, 96, 64, 0.5)
    );
    box-shadow: 
        0 4px 24px -1px rgba(225, 48, 108, 0.5),
        0 0 0 1px rgba(225, 48, 108, 0.4);
}

.instagram-link:hover {
    background: linear-gradient(135deg, 
        rgba(225, 48, 108, 0.6), 
        rgba(193, 53, 132, 0.6),
        rgba(252, 175, 69, 0.6),
        rgba(245, 96, 64, 0.6)
    );
    box-shadow: 
        0 8px 32px -1px rgba(225, 48, 108, 0.6),
        0 0 0 1px rgba(225, 48, 108, 0.5);
}

.tiktok-link {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.5), 
        rgba(37, 244, 238, 0.5),
        rgba(255, 0, 128, 0.5)
    );
    box-shadow: 
        0 4px 24px -1px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(37, 244, 238, 0.4);
}

.tiktok-link:hover {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6), 
        rgba(37, 244, 238, 0.6),
        rgba(255, 0, 128, 0.6)
    );
    box-shadow: 
        0 8px 32px -1px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(37, 244, 238, 0.5);
}

.donate-link {
    background: linear-gradient(135deg, rgba(221, 27, 66, 0.5), rgba(255, 77, 109, 0.5));
    box-shadow: 
        0 4px 24px -1px rgba(221, 27, 66, 0.5),
        0 0 0 1px rgba(221, 27, 66, 0.4);
}

.donate-link:hover {
    background: linear-gradient(135deg, rgba(221, 27, 66, 0.6), rgba(255, 77, 109, 0.6));
    box-shadow: 
        0 8px 32px -1px rgba(221, 27, 66, 0.6),
        0 0 0 1px rgba(221, 27, 66, 0.5);
}

/* Enhanced hover effects for icons */
.twitch-link i {
    color: #9146FF;
    text-shadow: 0 0 15px rgba(145, 70, 255, 0.6);
}

.youtube-link i {
    color: #FF0000;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.discord-link i {
    color: #5865F2;
    text-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
}

.instagram-link i {
    color: #E1306C;
    text-shadow: 0 0 15px rgba(225, 48, 108, 0.6);
}

.tiktok-link i {
    color: #25F4EE;
    text-shadow: 0 0 15px rgba(37, 244, 238, 0.6);
}

.donate-link i {
    color: #DD1B42;
    text-shadow: 0 0 15px rgba(221, 27, 66, 0.6);
}

/* Active states */
.link:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

.profile-img:active {
    transform: scale(0.98) rotate(-2deg);
    transition: all 0.1s ease;
}

.contact-email:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Responsive design */
@media (max-width: 600px) {
    body {
        justify-content: flex-start;
        align-items: center;
        padding: 20px 10px;
        padding-bottom: 30px;
    }
    .container {
        padding: 1.2rem;
        min-height: unset;
        max-height: unset;
        height: auto;
        margin: 10px 0;
    }
    .links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .link {
        padding: 1rem 1.2rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .link-description {
        font-size: 0.7rem;
        margin-left: 0;
        margin-top: 0.15rem;
    }
    .profile-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .profile-img {
        width: 100px;
        height: 100px;
    }
    h1 {
        font-size: 2.2rem;
    }
    .tagline {
        font-size: 0.9rem;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 100%;
    }
    .contact-email {
        font-size: 0.9rem;
    }
}

/* Landscape mode for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    body {
        justify-content: center;
        padding: 10px;
    }

    .container {
        padding: 1rem;
        margin: 0.3rem;
    }

    .profile-content {
        flex-direction: row;
        gap: 1rem;
    }

    .profile-img {
        width: 80px;
        height: 80px;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 0.2rem;
    }

    .tagline {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 100%;
    }

    .contact-email {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        margin-top: 0.8rem;
    }

    .link {
        padding: 0.8rem 0.9rem;
    }
    
    .link-description {
        font-size: 0.65rem;
        margin-left: 0;
        margin-top: 0.1rem;
    }
}

/* Small height devices */
@media (max-height: 600px) {
    .container {
        padding: 1.2rem;
    }

    .profile-header {
        margin-bottom: 1rem;
    }

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

    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 100%;
    }

    .links-grid {
        gap: 0.7rem;
        margin-top: 0.8rem;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .container {
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
    }

    .link {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

/* Dark mode optimization */
@media (prefers-color-scheme: dark) {
    .container {
        background: rgba(0, 0, 0, 0.4);
    }

    .link {
        background: rgba(0, 0, 0, 0.4);
    }
    
    .contact-email {
        background: rgba(0, 0, 0, 0.4);
    }
}

/* Touch device optimization */
@media (hover: none) {
    .link:hover {
        transform: none;
    }

    .link:active {
        transform: translateY(-2px);
    }

    .profile-img:hover {
        transform: none;
    }

    .profile-img:active {
        transform: scale(0.98);
    }
}

/* Patreon link styles */
.patreon-link {
    border: 1.5px solid #ff424d;
    box-shadow: 0 0 12px 0 rgba(255, 66, 77, 0.3);
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.patreon-link:hover {
    background: linear-gradient(135deg, rgba(255, 66, 77, 0.5), rgba(255, 178, 103, 0.5));
    border: 1.5px solid #ffb267;
    box-shadow: 0 8px 32px 2px rgba(255, 178, 103, 0.5), 0 0 0 1px rgba(255, 178, 103, 0.4);
}
.patreon-link i {
    color: #ff424d;
    text-shadow: 0 0 15px rgba(255, 66, 77, 0.6);
    transition: color 0.3s, text-shadow 0.3s;
}

/* Music Player - PROFESSIONAL FIXED VERSION */
.music-player {
    margin: 0.8rem 0 0 0;
    padding: 0 0.5rem;
    max-width: 800px;
    width: 100%;
    animation: playerAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
    flex-shrink: 0;
    box-sizing: border-box;
}

@keyframes playerAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.player-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 24px -1px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    gap: 0.8rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 80px;
}

.player-container:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 10px 30px -1px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
}

.speaker-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(221, 27, 66, 0.2), rgba(221, 27, 66, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(221, 27, 66, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.speaker-icon i {
    color: #DD1B42;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(221, 27, 66, 0.5);
    transition: all 0.4s ease;
}

.player-container:hover .speaker-icon,
.speaker-icon:hover {
    background: linear-gradient(135deg, rgba(221, 27, 66, 0.3), rgba(221, 27, 66, 0.2));
    transform: scale(1.1) rotate(5deg);
}

.player-container:hover .speaker-icon i,
.speaker-icon:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(221, 27, 66, 0.7);
}

.speaker-icon:active {
    transform: scale(0.95);
}

.speaker-icon:active i {
    transform: scale(0.9);
}

/* FIXED SONG DETAILS CONTAINER */
.song-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

/* PROFESSIONAL SCROLLING TITLE */
.song-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    display: block;
    width: 100%;
    max-width: 240px;
    transition: none;
}

/* SMOOTH BIDIRECTIONAL SCROLLING ANIMATION */
.song-title.scrolling {
    animation: titleScroll 12s ease-in-out infinite !important;
    will-change: transform !important;
    display: inline-block !important;
    white-space: nowrap !important;
    max-width: none !important;
    width: max-content !important;
    text-overflow: none !important;
}

@keyframes titleScroll {
    0% { 
        transform: translateX(0); 
    }
    20% { 
        transform: translateX(0); 
    }
    45% { 
        transform: translateX(calc(-100% + 240px)); 
    }
    55% { 
        transform: translateX(calc(-100% + 240px)); 
    }
    80% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(0); 
    }
}

.song-artist {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* PLAYER CONTROLS - FLEXIBLE CENTER */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex: 1;
    min-width: 200px;
}

.time-display {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.progress-container {
    flex: 1;
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
    max-width: 200px;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transform: translateY(-50%);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #DD1B42, #FF4D6D);
    border-radius: 2px;
    width: 30%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(221, 27, 66, 0.5);
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
}

.progress-container:hover .progress-handle {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.progress-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

.progress-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.progress-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* CONTROL BUTTONS */
.control-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    width: 120px;
    min-width: 120px;
    justify-content: center;
}

.control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(221, 27, 66, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.control-btn:hover::before {
    opacity: 1;
}

.control-btn:active {
    transform: scale(0.95);
}

.control-btn i {
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.play-pause-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #DD1B42, #FF4D6D);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.play-pause-btn i {
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.play-pause-btn:hover {
    background: linear-gradient(135deg, #FF1B42, #FF6D8D);
    box-shadow: 0 6px 20px rgba(221, 27, 66, 0.4);
}

.control-btn:hover i {
    transform: scale(1.1);
}

/* FIXED VOLUME CONTROL */
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
    width: 85px;
    min-width: 85px;
    max-width: 85px;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.volume-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 50%;
    flex-shrink: 0;
}

.volume-icon i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.volume-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.volume-icon:hover i {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.volume-slider-container {
    flex: 1;
    position: relative;
    height: 16px;
    display: flex;
    align-items: center;
    max-width: 45px;
}

.volume-bar {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    transform: translateY(-50%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.volume-fill {
    height: 100%;
    background: linear-gradient(90deg, #DD1B42, #FF4D6D);
    border-radius: 2px;
    width: 25%;
    transition: width 0.1s ease;
    box-shadow: 0 0 8px rgba(221, 27, 66, 0.6);
    position: relative;
}

.volume-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 1.5px;
}

.volume-handle {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(221, 27, 66, 0.3);
    border: 2px solid #DD1B42;
    transition: left 0.1s ease, transform 0.2s ease;
    opacity: 1;
    pointer-events: none;
    z-index: 3;
}

.volume-slider-container:hover .volume-handle {
    transform: translate(-50%, -50%) scale(1.1);
}

.volume-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    margin: 0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    opacity: 0;
}

.volume-slider::-webkit-slider-track {
    background: transparent;
    height: 3px;
    border-radius: 1.5px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    background: transparent;
    cursor: pointer;
    border: none;
}

.volume-slider::-moz-range-track {
    background: transparent;
    height: 3px;
    border-radius: 1.5px;
    border: none;
}

.volume-slider::-moz-range-thumb {
    width: 0;
    height: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    border: none;
}

#audioPlayer {
    display: none;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 1200px) {
    .player-container {
        gap: 0.6rem;
        padding: 1rem;
    }
    
    .player-info {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }
    
    .song-details {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
    }
    
    .song-title {
        max-width: 220px;
    }
    

    
    .control-buttons {
        width: 110px;
        min-width: 110px;
    }
    
    .volume-control {
        width: 75px;
        min-width: 75px;
        max-width: 75px;
        padding: 0.3rem 0.5rem;
    }
}

@media (max-width: 1000px) {
    .player-container {
        gap: 0.5rem;
        padding: 0.9rem;
    }
    
    .player-info {
        width: 260px;
        min-width: 260px;
        max-width: 260px;
    }
    
    .song-details {
        width: 200px;
        min-width: 200px;
        max-width: 200px;
    }
    
    .song-title {
        max-width: 200px;
    }
    
    .progress-container {
        max-width: 150px;
    }
    
    .control-buttons {
        width: 100px;
        min-width: 100px;
    }
    
    .volume-control {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
        padding: 0.3rem 0.4rem;
    }
    
    .volume-slider-container {
        max-width: 35px;
    }
}

@media (max-width: 768px) {
    .player-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
        text-align: center;
    }
    
    .player-info {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .song-details {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .song-title {
        max-width: 250px;
    }
    
    .player-controls {
        width: 100%;
        max-width: 350px;
    }
    
    .control-buttons {
        width: 130px;
        min-width: 130px;
    }
    
    .volume-control {
        width: 80px;
        min-width: 80px;
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .music-player {
        padding: 0 0.2rem;
    }
    
    .player-container {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .song-details {
        width: 100%;
        max-width: 200px;
    }
    
    .song-title {
        max-width: 200px;
        font-size: 1rem;
    }
    
    .progress-container {
        max-width: 120px;
    }
    
    .control-btn {
        width: 32px;
        height: 32px;
    }
    
    .play-pause-btn {
        width: 40px;
        height: 40px;
    }
    
    .control-btn i {
        font-size: 0.9rem;
    }
    
    .play-pause-btn i {
        font-size: 1rem;
    }
    
    .volume-control {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
        padding: 0.3rem;
    }
    
    .volume-slider-container {
        max-width: 30px;
    }
    
    .speaker-icon {
        width: 36px;
        height: 36px;
    }
    
    .speaker-icon i {
        font-size: 1rem;
    }
}

/* Verification Overlay Mobile Styles */
@media (max-width: 768px) {
    .verification-container {
        width: 95%;
        padding: 0;
    }

    .verification-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        margin: 20px 0;
    }

    .verification-logo {
        width: 60px;
        height: 60px;
    }

    .verification-header h2 {
        font-size: 1.5rem;
    }

    .verification-header p {
        font-size: 0.9rem;
    }

    .security-features {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0.5rem;
    }

    .feature {
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem;
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }

    .feature i {
        margin-bottom: 0;
        font-size: 1.2rem;
    }

    .feature span {
        font-size: 0.8rem;
    }

    .captcha-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .captcha-checkbox {
        margin-right: 0;
    }

    .enter-button {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }

    .security-badge {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .security-badge div strong {
        font-size: 0.85rem;
    }

    .security-badge div small {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .verification-card {
        padding: 1.5rem 1rem;
        margin: 10px;
    }

    .verification-header h2 {
        font-size: 1.3rem;
    }

    .verification-logo {
        width: 50px;
        height: 50px;
    }

    .security-features {
        padding: 0.8rem 0.3rem;
    }

    .feature {
        padding: 0.6rem;
    }

    .feature i {
        font-size: 1rem;
    }

    .feature span {
        font-size: 0.75rem;
    }

    .loading-text {
        font-size: 0.8rem;
    }

    .captcha-container {
        padding: 1rem 0.8rem;
    }

    .captcha-container span {
        font-size: 0.9rem;
    }

    .enter-button {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Verification overlay landscape mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .verification-container {
        max-height: 90vh;
        overflow-y: auto;
    }

    .verification-card {
        padding: 1.5rem;
        margin: 10px 0;
    }

    .verification-logo {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .verification-header {
        margin-bottom: 1rem;
    }

    .verification-header h2 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    .verification-header p {
        font-size: 0.8rem;
    }

    .security-features {
        margin-bottom: 1rem;
        padding: 0.8rem;
    }

    .feature {
        padding: 0.3rem;
    }

    .feature i {
        font-size: 1rem;
    }

    .feature span {
        font-size: 0.7rem;
    }

    .verification-process {
        margin-bottom: 1rem;
    }

    .loading-text {
        font-size: 0.8rem;
    }

    .captcha-container {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }

    .security-info {
        margin-top: 1rem;
    }

    .security-badge {
        padding: 0.8rem;
    }
}

/* Media queries */



