/* CSS Custom Properties */
:root {
    /* Gray Scale */
    --darkest-gray: #1b1b1b;
    --dark-gray: #262626;
    --gray: #666666;
    --light-gray: #808080;
    --lightest-gray: #b3b3b3;
    --white: #e5e5e5;
    
    /* Brand Colors */
    --primary: #ec008c;
    --secondary: #fc6767;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-reverse: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    
    /* Typography */
    --font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --brand-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --container-padding: 1rem;
    
    /* Animations */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-back: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--darkest-gray);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
    position: relative;
    min-width: 0;
    flex-shrink: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 8vw, 4rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 4vw, 1.8rem); }

p {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: var(--lightest-gray);
    margin-bottom: 1rem;
}



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(236, 0, 140, 0.1) 0%, transparent 50%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 2rem var(--container-padding);
    width: 100%;
    box-sizing: border-box;
    direction: ltr;
}

.logo-section {
    text-align: center;
    margin-bottom: 2rem;
    direction: ltr;
}

.main-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    animation: slideInUp 1s var(--ease-out-quart);
}

.brand-name {
    font-family: var(--brand-font);
    margin: 0;
    animation: slideInUp 1s var(--ease-out-quart) 0.2s both;
}

.brand-main {
    display: block;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
}

.brand-sub {
    display: block;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: var(--lightest-gray);
    letter-spacing: 0.3em;
}

.hero-description {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 2rem;
    animation: slideInUp 1s var(--ease-out-quart) 0.4s both;
    max-width: 600px;
    line-height: 1.6;
    direction: rtl;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: slideInUp 1s var(--ease-out-quart) 0.6s both;
    width: 100%;
    direction: ltr;
}

/* Buttons */
.btn {
    position: relative;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--lightest-gray);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

/* Phone Mockup */
.hero-visual {
    justify-self: center;
    animation: slideInUp 1s var(--ease-out-quart) 0.8s both;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--dark-gray);
    border-radius: 30px;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--darkest-gray);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-card {
    background: var(--dark-gray);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1rem;
    border: 1px solid var(--gray);
}

.question-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.options {
    display: grid;
    gap: 0.5rem;
}

.option {
    padding: 0.5rem;
    background: var(--gray);
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
}

.option:hover {
    background: var(--gradient);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--dark-gray);
    width: 100%;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.about-description {
    font-size: clamp(1rem, 4vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .stat-label {
    color: var(--lightest-gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}



.section-title {
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--darkest-gray);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s var(--ease-out-quart);
    border: 1px solid var(--gray);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(236, 0, 140, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(1);
    transition: filter 0.3s var(--ease-out-quart);
}

.feature-card:hover .feature-icon {
    filter: grayscale(0);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

/* Game Preview Section */
.game-preview {
    padding: 4rem 0;
    width: 100%;
}

.game-preview .container {
    padding: 0;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    text-align: center;
}

.preview-text {
    width: 100%;
    max-width: 800px;
}

.preview-text h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.preview-text p {
    text-align: center;
    margin-bottom: 2rem;
}

.preview-features {
    list-style: none;
    margin: 2rem 0;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.preview-features li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--lightest-gray);
    display: inline-block;
    width: 100%;
}

.preview-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.game-carousel {
    position: relative;
    width: 300px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.screenshot-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 15px;
    overflow: hidden;
}

.screenshot-item.active {
    opacity: 1;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.game-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    transition: all 0.3s var(--ease-out-quart);
    animation: fadeInUp 0.8s var(--ease-out-quart) both;
}

.game-screenshot:hover {
    transform: scale(1.02);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
}

.indicator.active,
.indicator:hover {
    background: var(--primary);
    transform: scale(1.2);
}

.game-buttons {
    margin-top: 2rem;
}

/* YouTube Channels Section */
.channels {
    padding: var(--section-padding);
    background: var(--darkest-gray);
    width: 100%;
}

.channels-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--lightest-gray);
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.channel-card {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--gray);
    transition: all 0.3s var(--ease-out-quart);
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 0, 140, 0.1), transparent);
    transition: left 0.5s var(--ease-out-quart);
}

.channel-card:hover::before {
    left: 100%;
}

.channel-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.channel-logo {
    margin-bottom: 1rem;
}

.channel-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.channel-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.subscribers {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}



.channel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-quart);
    position: relative;
    z-index: 10;
}

.channel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Download Section */
.download {
    padding: var(--section-padding);
    background: var(--dark-gray);
    text-align: center;
    width: 100%;
}

.download-content h2 {
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.beta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.beta-card {
    background: var(--darkest-gray);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--gray);
    transition: all 0.3s var(--ease-out-quart);
}

.beta-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.beta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.beta-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.beta-card p {
    color: var(--lightest-gray);
    margin: 0;
}

.signup-section {
    text-align: center;
    margin-top: 2rem;
}

.signup-note {
    margin-top: 1rem;
    color: var(--lightest-gray);
    font-size: 0.9rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--darkest-gray);
    border: 1px solid var(--gray);
    border-radius: 15px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s var(--ease-out-quart);
}

.download-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.platform {
    font-weight: 600;
    font-size: 1.1rem;
}

.store {
    font-size: 0.9rem;
    color: var(--lightest-gray);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--lightest-gray);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--dark-gray);
    width: 100%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--lightest-gray);
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--darkest-gray);
    border-radius: 15px;
    border: 1px solid var(--gray);
    transition: all 0.3s var(--ease-out-quart);
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-out-quart);
}

.contact-item a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--darkest-gray);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid var(--gray);
    transition: all 0.3s var(--ease-out-quart);
    font-weight: 600;
}

.social-btn:hover {
    background: var(--gradient);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.social-btn span:first-child {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    padding: 3rem 0 1rem;
    background: var(--dark-gray);
    width: 100%;
    text-align: center;
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 2rem 0;
    }
    
    .hero .container {
        min-height: 100vh;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .logo-section {
        margin-bottom: 1.5rem;
    }
    
    .main-logo {
        width: 100px;
        height: 100px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        direction: rtl;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 0.8rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    

    
    .channels-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .stats {
        gap: 2rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
        font-size: clamp(1.2rem, 6vw, 2rem);
    }
    
    .channels-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .about-description {
        padding: 0 1rem;
    }
    
    .preview-content {
        gap: 2rem;
    }
    
    .preview-features {
        text-align: right;
        padding: 0 1rem;
    }
    
    .game-carousel {
        width: 250px;
        height: 400px;
        margin: 0 auto;
    }
}

@media (min-width: 769px) {
    .preview-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: right;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
    
    .main-logo {
        width: 150px;
        height: 150px;
    }
}



/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darkest-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-reverse);
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Device Emulation Fixes */
@media screen and (device-width: 375px) and (device-height: 667px),
       screen and (device-width: 414px) and (device-height: 736px),
       screen and (device-width: 375px) and (device-height: 812px),
       screen and (device-width: 360px) and (device-height: 640px),
       screen and (device-width: 393px) and (device-height: 851px) {
    
    body {
        width: 100vw !important;
        min-height: 100vh !important;
        overflow-x: hidden !important;
        position: relative !important;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    .hero {
        width: 100vw !important;
        min-height: 100vh !important;
        overflow: hidden !important;
    }
    
    .hero .container {
        width: 100% !important;
        min-height: 100vh !important;
        padding: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* Touch device specific fixes */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .channel-card:hover,
    .screenshot-item:hover {
        transform: none;
    }
    
    .btn:active {
        transform: translateY(-1px);
    }
    
    .channel-card:active {
        transform: translateY(-5px);
    }
} 