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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Movie Clapper */
.clapper {
    position: relative;
    width: 240px;
    height: 180px;
    animation: float 2s ease-in-out infinite;
}

.clapper-top {
    position: absolute;
    width: 240px;
    height: 45px;
    background-color: #1a1a1a;
    border: 3px solid #ffffff;
    border-radius: 5px 5px 0 0;
    transform-origin: bottom left;
    animation: clap 1.5s ease-in-out infinite;
    z-index: 2;
}

.clapper-stripes {
    display: flex;
    height: 100%;
    overflow: hidden;
    border-radius: 3px 3px 0 0;
}

.stripe {
    flex: 1;
    height: 100%;
}

.stripe.black {
    background-color: #000000;
}

.stripe.white {
    background-color: #ffffff;
}

.clapper-bottom {
    position: absolute;
    top: 45px;
    width: 240px;
    height: 120px;
    background-color: #1a1a1a;
    border: 3px solid #ffffff;
    border-radius: 0 0 5px 5px;
    z-index: 1;
}



@keyframes clap {
    0%, 100% {
        transform: rotate(0deg);
    }
    15%, 35% {
        transform: rotate(-25deg);
    }
    25%, 45% {
        transform: rotate(0deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Main Content */
#main-content {
    position: relative;
    width: 100%;
    height: 100vh;
    opacity: 0;
    transition: opacity 0.8s ease-in;
}

#main-content.show {
    opacity: 1;
}

.hidden {
    display: none;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fall-bubble linear infinite;
    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.1),
        0 0 15px rgba(255, 255, 255, 0.05);
}

.particle:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    top: -100px;
    animation-duration: 14s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 25%;
    top: -100px;
    animation-duration: 18s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 30px;
    height: 30px;
    left: 40%;
    top: -100px;
    animation-duration: 12s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 55%;
    top: -100px;
    animation-duration: 16s;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 45px;
    height: 45px;
    left: 70%;
    top: -100px;
    animation-duration: 13s;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    width: 55px;
    height: 55px;
    left: 85%;
    top: -100px;
    animation-duration: 17s;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    width: 35px;
    height: 35px;
    left: 15%;
    top: -100px;
    animation-duration: 19s;
    animation-delay: 2.5s;
}

.particle:nth-child(8) {
    width: 65px;
    height: 65px;
    left: 60%;
    top: -100px;
    animation-duration: 15s;
    animation-delay: 4.5s;
}

.particle:nth-child(9) {
    width: 42px;
    height: 42px;
    left: 35%;
    top: -100px;
    animation-duration: 14s;
    animation-delay: 1.5s;
}

.particle:nth-child(10) {
    width: 52px;
    height: 52px;
    left: 80%;
    top: -100px;
    animation-duration: 16s;
    animation-delay: 3.5s;
}

@keyframes fall-bubble {
    0% {
        transform: translateY(-15vh) translateX(0) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(50vh) translateX(30px) scale(1.1);
        opacity: 0.5;
    }
    95% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(115vh) translateX(-20px) scale(0.8);
        opacity: 0;
    }
}

/* Header */
header {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 10;
}

.brand {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: capitalize;
}

.brand .society {
    color: #7c3aed;
}

/* Main Content Area */
main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 60px;
    z-index: 5;
}

.content-container {
    width: 100%;
    max-width: 1400px;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.main-title {
    font-size: 140px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -3px;
    color: #ffffff;
    margin-bottom: 60px;
}

.subtitle-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.subtitle-line {
    font-size: 38px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.3px;
    color: #888888;
    margin: 0;
}

.counter-inline {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    background-color: #7c3aed;
    padding: 4px 14px;
    display: inline-block;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .main-title {
        font-size: 110px;
    }

    .subtitle-line {
        font-size: 32px;
    }

    .counter-inline {
        font-size: 32px;
        padding: 3px 12px;
    }
}

@media (max-width: 768px) {
    header {
        top: 20px;
        left: 20px;
    }

    .brand {
        font-size: 22px;
    }

    main {
        padding: 40px 30px;
    }

    .main-title {
        font-size: 80px;
        letter-spacing: -2px;
        margin-bottom: 45px;
    }

    .subtitle-line {
        font-size: 26px;
    }

    .counter-inline {
        font-size: 26px;
        padding: 3px 10px;
    }

    .clapper {
        width: 180px;
        height: 135px;
    }

    .clapper-top {
        width: 180px;
        height: 35px;
    }

    .clapper-bottom {
        width: 180px;
        height: 90px;
        top: 35px;
    }

    .clapper-stick-left,
    .clapper-stick-right {
        height: 80px;
    }
}

@media (max-width: 480px) {
    header {
        top: 15px;
        left: 15px;
    }

    .brand {
        font-size: 18px;
    }

    main {
        padding: 30px 20px;
    }

    .main-title {
        font-size: 56px;
        letter-spacing: -1px;
        margin-bottom: 35px;
    }

    .subtitle-line {
        font-size: 20px;
        line-height: 1.5;
    }

    .counter-inline {
        font-size: 20px;
        padding: 2px 8px;
    }

    .clapper {
        width: 160px;
        height: 120px;
    }

    .clapper-top {
        width: 160px;
        height: 30px;
    }

    .clapper-bottom {
        width: 160px;
        height: 80px;
        top: 30px;
    }

    .clapper-stick-left,
    .clapper-stick-right {
        width: 8px;
        height: 70px;
    }
}
