@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;600;700&display=swap');

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

body {
    font-family: 'Hind Siliguri', sans-serif;
    background: linear-gradient(135deg, #4A2B88 0%, #351A61 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: #121622;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.header-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 28px;
    width: 28px;
    border-radius: 50%;
}

.logo span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 550px;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.title span {
    display: block;
}

.subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 400;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-red {
    background-color: #E63946;
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-dark {
    background-color: #2F3642;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.icon {
    width: 20px;
    height: 20px;
}

/* Hero Image */
/* Hero Image Animation & Blending */
@keyframes float-game {
    0% { transform: translateY(0px); filter: brightness(1) drop-shadow(0 0 10px rgba(189, 58, 255, 0.2)); }
    50% { transform: translateY(-15px); filter: brightness(1.1) drop-shadow(0 0 30px rgba(189, 58, 255, 0.5)); }
    100% { transform: translateY(0px); filter: brightness(1) drop-shadow(0 0 10px rgba(189, 58, 255, 0.2)); }
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    perspective: 1000px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    
    /* Edge Blending and Background Removal Magic */
    mix-blend-mode: screen; /* Drops the dark background from the generated image */
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 75%);
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 75%);
    
    /* Animation */
    animation: float-game 4s ease-in-out infinite;
    transform-style: preserve-3d;
    transform-origin: bottom center;
}

/* Modal styling from previous */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    width: 90%;
    max-width: 800px;
    position: relative;
    background: #000;
    border-radius: 12px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 12px;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .hero-image {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}
