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

body {
    background-color: white;
    font-family: 'Archivo Black', Arial, sans-serif;
    min-height: 100vh;
    position: relative;
}

/* Video Background Styles */
#videoBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Adjust opacity to make it subtle */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Mobile video optimizations */
@media (max-width: 768px) {
    #videoBackground {
        opacity: 0.2; /* Slightly more subtle on mobile for better performance */
    }
}

.container {
    text-align: center;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    padding: 0 20px;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.logo {
    font-size: 6rem;
    font-weight: 900;
    color: black;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1;
    width: 100%;
    max-width: calc(100vw - 40px);
    white-space: nowrap;
    word-spacing: 0.3em;
    cursor: pointer;
    transition: opacity 0.01s ease, color 0.3s ease-in-out;
    transform: scaleY(1.5);
    box-sizing: border-box;
    text-align: center;
    margin: 0 auto;
    -webkit-text-stroke: 1px transparent;
    text-stroke: 1px transparent;
    position: relative;
    animation: outlineWave 3s ease-in-out infinite;
}

.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}


.flipped-n {
    display: inline-block;
    transform: scaleX(-1);
}

.logo:hover {
    animation: fastBlink 0.02s infinite, spinY 0.1s infinite linear, colorChange 0.1s ease-in-out forwards;
    position: relative;
}

.logo-copy {
    position: absolute;
    font-size: 6rem;
    font-weight: 900;
    color: grey;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    word-spacing: 0.3em;
    transform: scaleY(1.5);
    animation: spinY 0.1s infinite linear;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-copy {
    opacity: 1;
}

.logo-copy-1 {
    left: -100%;
    top: -120%;
}

.logo-copy-2 {
    right: -100%;
    top: -120%;
}

.logo-copy-3 {
    left: -100%;
    top: 0;
    animation: fastBlink 0.02s infinite;
}

.logo-copy-4 {
    right: -100%;
    top: 0;
    animation: fastBlink 0.02s infinite;
}

.logo-copy-5 {
    left: -100%;
    top: 120%;
}

.logo-copy-6 {
    right: -100%;
    top: 120%;
}


@keyframes fastBlink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes colorChange {
    0% { color: black; }
    100% { color: grey; }
}

@keyframes spinY {
    0% { transform: scaleY(1.5) rotateY(0deg); }
    100% { transform: scaleY(1.5) rotateY(360deg); }
}

@keyframes outlineWave {
    0% { 
        -webkit-text-stroke: 1px transparent;
        text-stroke: 1px transparent;
    }
    25% { 
        -webkit-text-stroke: 1px black;
        text-stroke: 1px black;
    }
    50% { 
        -webkit-text-stroke: 1px transparent;
        text-stroke: 1px transparent;
    }
    75% { 
        -webkit-text-stroke: 1px black;
        text-stroke: 1px black;
    }
    100% { 
        -webkit-text-stroke: 1px transparent;
        text-stroke: 1px transparent;
    }
}

@media (max-width: 1200px) {
    .logo {
        font-size: 5rem;
        word-spacing: 0.25em;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
    
    .logo-desktop {
        display: none;
    }
    
    .logo-mobile {
        display: block;
        font-size: 2.4rem;
        letter-spacing: -0.02em;
        word-spacing: 0.05em;
        line-height: 1;
        width: 100%;
        max-width: calc(100vw - 20px);
        padding: 0;
        text-align: center;
        white-space: nowrap;
        font-weight: 900;
        color: black;
        text-transform: uppercase;
        transform: scaleY(1.5);
        transform-origin: center;
        margin: 0 auto;
        -webkit-text-stroke: 1px transparent;
        text-stroke: 1px transparent;
        animation: outlineWave 3s ease-in-out infinite;
    }
    
    .logo-copy {
        font-size: clamp(0.6rem, 2vw, 1rem);
        word-spacing: 0em;
        max-width: calc(100vw - 50px);
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .logo-mobile {
        font-size: 1.8rem;
        letter-spacing: -0.02em;
        word-spacing: 0.02em;
        transform: scaleY(1.5);
        transform-origin: center;
    }
    
    .logo-copy {
        font-size: clamp(0.45rem, 1.8vw, 0.8rem);
        word-spacing: -0.01em;
        max-width: calc(100vw - 40px);
        white-space: nowrap;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-mobile {
        font-size: 1.44rem;
        letter-spacing: -0.02em;
        word-spacing: 0.01em;
        transform: scaleY(1.5);
        transform-origin: center;
    }
    
    .logo-copy {
        font-size: clamp(0.35rem, 1.5vw, 0.65rem);
        word-spacing: -0.015em;
        max-width: calc(100vw - 30px);
        white-space: nowrap;
    }
}

/* Email Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
}

.modal-content {
    background-color: transparent;
    margin: 15% auto;
    padding: 30px;
    border: none;
    border-radius: 0;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: none;
    animation: modalSlideIn 0.3s ease-out;
}

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

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: -50px;
    right: -50px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
}

.modal-content h2 {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.modal-content p {
    color: #ccc;
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

.brand-name {
    text-transform: uppercase;
}

#emailForm {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

#emailInput {
    padding: 12px !important;
    font-size: 0.85rem !important;
    border: none !important;
    border-radius: 5px !important;
    background-color: transparent !important;
    color: #fff !important;
    transition: background-color 0.3s ease;
    font-family: 'Inter', Arial, sans-serif !important;
    font-weight: 400 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
}

#emailInput::placeholder {
    color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

/* Remove browser autofill styling completely */
#emailInput:-webkit-autofill,
#emailInput:-webkit-autofill:hover,
#emailInput:-webkit-autofill:focus,
#emailInput:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #fff !important;
    background-color: transparent !important;
    background-clip: content-box !important;
    border: none !important;
    outline: none !important;
}

#emailInput:-webkit-autofill {
    transition: background-color 5000s ease-in-out 0s;
}

/* Force remove any browser styling */
input[type="email"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

#emailInput:focus {
    outline: none;
    background-color: rgba(102, 102, 102, 0.1);
}

#emailForm button {
    padding: 12px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    background-color: transparent !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Inter', Arial, sans-serif !important;
    letter-spacing: 0.1em !important;
    position: relative;
    overflow: hidden;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
}

#emailForm button:hover {
    background-color: rgba(102, 102, 102, 0.2);
}

#emailForm button::before {
    content: "NOTICE HOW IT FEELS";
    position: absolute;
    top: 50%;
    left: -100%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Inter', Arial, sans-serif;
    letter-spacing: 0.1em;
    color: #fff;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#emailForm button:hover::before {
    opacity: 1;
    animation: slideText 3s linear infinite;
}

@keyframes slideText {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.success-message {
    color: #fff;
    text-align: center;
    font-size: 6rem;
    font-weight: 900;
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
    font-family: 'Archivo Black', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    transform: scaleY(1.5);
    animation: fastBlink 0.02s infinite;
    position: relative;
    z-index: 1;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 25px;
        width: 95%;
        max-width: none;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-content p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    #emailInput {
        padding: 14px;
        font-size: 14px; /* Prevents zoom on iOS */
    }
    
    #emailForm button {
        padding: 14px;
        font-size: 0.9rem;
        touch-action: manipulation; /* Improves touch responsiveness */
    }
    
    /* Adjust sliding text animation for mobile */
    #emailForm button::before {
        font-size: 1.8rem; /* Slightly smaller on mobile */
    }
    
    .close {
        top: -40px;
        right: -40px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.2rem;
        letter-spacing: -0.005em;
        word-spacing: 0.2em;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 20px;
    }
    
    .modal-content p {
        font-size: 0.9rem;
    }
    
    #emailForm button::before {
        font-size: 1.5rem; /* Even smaller on very small screens */
    }
    
    .close {
        top: -30px;
        right: -30px;
        font-size: 20px;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.6;
    animation: fadeInOut 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid rgba(255, 255, 255, 0.8);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Hide scroll indicator on mobile for better UX */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* Spotify Playlist Section */
.playlist-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
    margin-top: 100vh;
}

.spotify-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.spotify-container iframe {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Mobile responsiveness for playlist */
@media (max-width: 768px) {
    .playlist-section {
        padding: 30px 15px;
    }
    
    .spotify-container {
        max-width: 100%;
    }
}

/* T-Shirt Section */
.tshirt-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.tshirt-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.tshirt-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.tshirt-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
}

.tshirt-image-1 {
    opacity: 1;
    z-index: 2;
    animation: fadeInOut 6.472s ease-in-out infinite;
}

.tshirt-image-2 {
    opacity: 0;
    z-index: 1;
    animation: fadeInOut 6.472s ease-in-out infinite reverse;
}

@keyframes fadeInOut {
    0%, 48% {
        opacity: 1;
    }
    48.01%, 50% {
        opacity: 0;
    }
    50.01%, 52% {
        opacity: 1;
    }
    52.01%, 54% {
        opacity: 0;
    }
    54.01%, 100% {
        opacity: 0;
    }
}


/* Mobile responsiveness for t-shirt */
@media (max-width: 768px) {
    .tshirt-section {
        padding: 30px 15px;
    }
    
    .tshirt-container {
        max-width: 100%;
    }
    
    .tshirt-text {
        font-size: 1rem;
    }
}