html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: linear-gradient(to bottom, 
        #6a0a49 0%, 
        #6a0a49 50%, 
        #000000 100%);
    transition: background 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
    animation: fadeIn 0.5s ease-out;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.content {
    position: relative;
    z-index: 20;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    padding: 2rem;
}

.title-container {
    margin-bottom: 4rem;
}

.title-main {
    font-size: 8vw;
    font-weight: 900;
    color: white;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(30px);
}

.title-sub {
    font-size: 3vw;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    letter-spacing: 1rem;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
}

.title-line {
    width: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #ffffff, transparent);
    margin: 1.5rem auto;
    opacity: 0;
}

.modern-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    width: 250px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.box i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    display: block;
}

.box h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
}

.box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.box:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cta-button {
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    border: 2px solid white;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.cta-button span {
    position: relative;
    z-index: 2;
}

.button-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    z-index: 1;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.cta-button:hover .button-hover-effect {
    transform: translateX(0);
}

.cta-button:hover {
    color: white;
    border-color: transparent;
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: #ff00cc;
    top: 20%;
    left: 10%;
    animation: float 15s infinite ease-in-out;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: #3333ff;
    bottom: 10%;
    right: 10%;
    animation: float 18s infinite ease-in-out reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: #00ffcc;
    top: 60%;
    left: 50%;
    animation: float 12s infinite ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-50px) translateX(50px); }
}

.animate-title {
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.animate-subtitle {
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.animate-line {
    animation: growWidth 1s ease-out 0.6s forwards, fadeIn 1s ease-out 0.6s forwards;
}

.animate-box {
    animation: fadeInUp 0.8s ease-out forwards;
}

.box-1 { animation-delay: 0.8s; }
.box-2 { animation-delay: 1s; }
.box-3 { animation-delay: 1.2s; }

.animate-cta {
    animation: fadeInUp 0.8s ease-out 1.4s forwards, pulse 2s ease-in-out 2.5s infinite;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes growWidth {
    from { width: 0; }
    to { width: 300px; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.bubble-text {
    position: relative;
    display: inline-block;
}

.bubble-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    opacity: 0;
    animation: bubble 3s ease-in-out infinite;
}

.bubble-text:nth-child(1)::before {
    animation-delay: 0.5s;
}

.bubble-text:nth-child(2)::before {
    animation-delay: 1s;
}

@keyframes bubble {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    body {
        background: linear-gradient(to bottom, 
            #6a0a49 0%, 
            #6a0a49 70%, 
            #000000 100%);
    }
    
    .title-main {
        font-size: 15vw;
        letter-spacing: 0.3rem;
    }
    
    .title-sub {
        font-size: 6vw;
        letter-spacing: 0.5rem;
    }
    
    .modern-boxes {
        flex-direction: column;
        align-items: center;
    }
    
    .box {
        width: 80%;
    }
}

.side-video {
    position: fixed;
    top: 0;
    width: 150px;
    height: 100vh;
    z-index: 10;
    overflow: hidden;
}

.side-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.left-video {
    left: 0;
}

.right-video {
    right: 0;
}

@media (max-width: 1024px) {
    .side-video {
        display: none;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow: auto;
        height: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        min-height: 100vh;
        display: block;
        padding: 20px 0;
    }
    
    .content {
        padding: 1rem;
    }
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}