html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #E0E0E0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

body.loaded {
    opacity: 1;
}

:root {
    --scroll-thumb: #4F46E5; 
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb); 
    border-radius: 6px;
    border: 3px solid #0f0f0f;
    transition: background-color 0.1s linear;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ffffff !important;
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) #0f0f0f; 
}

::selection {
    background: #A855F7;
    color: #ffffff;
}

::-moz-selection {
    background: #A855F7;
    color: #ffffff;
}

.brand-gradient-text {
    background: linear-gradient(90deg, #4F46E5, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-gradient-bg {
    background: linear-gradient(90deg, #4F46E5, #A855F7);
}

.section-bg {
    background-color: rgba(26, 26, 26, 0.8);
}

.countdown-box {
    background-color: rgba(30, 30, 30, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-input {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

#progress-bar-container {
    background-color: #4a4a4a;
    cursor: pointer;
}

#progress {
    background: linear-gradient(90deg, #4F46E5, #A855F7);
    pointer-events: none;
}

.header-and-hero-wrapper {
    position: relative;
    background-image: url('../images/realistic-smoke.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 5rem;
}

.header-and-hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(18, 18, 18, 0.65);
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 50; 
}

.hero-content, .welcome-content {
    position: relative;
    z-index: 1; 
}

.hero-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

header {
    background-color: transparent !important;
}

main {
    flex-shrink: 0;
}

@keyframes dj-scratch {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-40deg); }
    15% { transform: rotate(-25deg); }
    25% { transform: rotate(-70deg); }
    30% { transform: rotate(-55deg); }
    40% { transform: rotate(-100deg); }
    45% { transform: rotate(-85deg); }
    55% { transform: rotate(-130deg); }
    60% { transform: rotate(-115deg); }
    70% { transform: rotate(-160deg); }
    75% { transform: rotate(-145deg); }
    85% { transform: rotate(-190deg); }
    90% { transform: rotate(-175deg); }
    100% { transform: rotate(-360deg); }
}

.logo-scratch {
    transition: transform 0.1s;
}

.logo-scratch:hover {
    animation: dj-scratch 5s linear infinite; 
    cursor: grab;
}
.logo-scratch:active {
    cursor: grabbing;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 0 rgba(79, 70, 229, 0);
        border-color: rgba(79, 70, 229, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
        border-color: rgba(168, 85, 247, 0.8);
    }
    100% {
        box-shadow: 0 0 0 rgba(79, 70, 229, 0);
        border-color: rgba(79, 70, 229, 0.3);
    }
}

.animate-border-glow {
    animation: glow-pulse 2s infinite ease-in-out;
}

.animate-border-glow:hover {
    animation-duration: 4s;
}

.smoke-overlay {
    position: relative;
    background-image: url('../images/realistic-smoke.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.smoke-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(18, 18, 18, 0.9);
    z-index: 0;
}

.smoke-overlay > * {
    position: relative;
    z-index: 1;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin 15s linear infinite;
}

.nav-link {
    position: relative;
    padding-bottom: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4F46E5, #A855F7);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-out;
    box-shadow: 0 0 10px #A855F7, 0 0 20px #4F46E5;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.track-item {
    position: relative;
    overflow: hidden;
}

.track-item .play-btn {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s ease-in-out;
}

.track-item:hover .play-btn {
    right: 1rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#socials-container {
    position: relative;
    display: inline-block;
}

#join-community-btn {
    position: relative;
    transition: all 0.5s ease-in-out;
    min-width: 220px; 
    justify-content: center;
}

#socials-container.active #join-community-btn {
    color: transparent; 
}

#socials-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    
    display: flex;
    align-items: center;
    gap: 1.25rem;
    
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}

#socials-container.active #socials-icons {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

#socials-icons img {
    width: 28px; 
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.social-icon {
    display: block;
    padding: 0.5rem;
    border-radius: 9999px;
    color: #E0E0E0;
    background-color: rgba(79, 70, 229, 0.25); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8; 
    transition: all 0.2s ease-in-out; 
}

.social-icon:hover {
    opacity: 1; 
    background-color: rgba(79, 70, 229, 0.5);
    color: #FFFFFF;
    transform: scale(1.15); 
}

.prose-custom {
    --tw-prose-body: #E0E0E0;
    --tw-prose-headings: #ffffff;
    --tw-prose-links: #A855F7;
    --tw-prose-bold: #ffffff;
    --tw-prose-bullets: #4F46E5;
    --tw-prose-hr: #3a3a3a;
}

.prose-custom a {
    transition: color 0.2s ease-in-out;
}

.prose-custom a:hover {
    color: #4F46E5;
}

.testimonial-scroll-container {
    overflow-x: auto;
    padding-bottom: 20px;
    cursor: grab;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.3s ease;
}

.testimonial-scroll-container:hover {
    scrollbar-color: #4F46E5 rgba(255, 255, 255, 0.1);
}

.testimonial-scroll-container:active {
    cursor: grabbing;
}

.testimonial-scroll-container::-webkit-scrollbar {
    height: 8px;
    display: block;
}

.testimonial-scroll-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.testimonial-scroll-container::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: background-color 0.3s ease;
}

.testimonial-scroll-container:hover::-webkit-scrollbar-thumb {
    background-color: #4F46E5;
}

.testimonial-card {
    min-width: 320px;
    width: 33.333vw;
    max-width: 400px;
    scroll-snap-align: start;
}

@media (max-width: 1024px) {
    .testimonial-card {
        width: 50vw;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 80vw;
        width: 80vw;
    }
}

.truncated-text {
    display: block; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    max-height: 5.5em;
}

.header-and-hero-wrapper::before,
.smoke-overlay::before {
    display: none !important;
}