/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* Custom Properties */
:root {
    --primary-color: #00f5ff;
    --secondary-color: #6366f1;
    --accent-color: #00f5ff;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --background-dark: #0a0a0a;
    --background-card: #1a1a1a;
    --background-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-glow: 0 0 20px rgba(0, 245, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    padding: 2px;
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.3));
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.logo .accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 245, 255, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(0,245,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 1;
    position: relative;
    height: 100%;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1;
}

.hero-title .title-line:first-child {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.title-line {
    display: block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(0, 245, 255, 0.5); }
    to { text-shadow: 0 0 20px rgba(0, 245, 255, 0.8); }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.btn {
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--background-dark);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-2px);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

/* About Section */
.about {
    background: var(--background-card);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.profile-card {
    background: var(--background-dark);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 245, 255, 0.2);
    transition: var(--transition);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.developer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Games Section */
.games {
    background: var(--background-dark);
}

.game-logo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: var(--transition);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.game-card:hover .game-logo {
    transform: translate(-50%, -50%) scale(1.05);
}

.game-preview-fallback {
    width: 100%;
    height: 100%;
    transition: var(--transition);
    position: absolute;
    top: 0;
    left: 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.games-footer {
    margin-top: 3rem;
    text-align: center;
}

.google-play-btn {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) !important;
    color: var(--background-dark) !important;
    border: none;
    box-shadow: var(--shadow-glow);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.google-play-btn:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) !important;
    color: var(--background-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.6);
}

.google-play-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.google-play-btn:hover .google-play-icon {
    transform: scale(1.1);
}

/* Google Play Badge Styles */
.google-play-badge {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.google-play-badge-medium {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.google-play-badge-large {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.play-store-btn:hover .google-play-badge,
.play-store-btn:hover .google-play-badge-medium,
.play-store-btn:hover .google-play-badge-large,
.google-play-btn:hover .google-play-badge,
.google-play-btn:hover .google-play-badge-medium,
.google-play-btn:hover .google-play-badge-large,
.play-store-btn:hover .wowcube-store-badge,
.play-store-btn:hover .wowcube-store-badge-medium {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* WOWCUBE Store Badge Styles */
.wowcube-store-badge {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.wowcube-store-badge-medium {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.game-card {
    background: var(--background-card);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(0, 245, 255, 0.1);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-preview {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.game-card:hover .game-preview {
    transform: scale(1.05);
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.game-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.game-stats {
    display: flex;
    gap: 1rem;
}

.stat {
    background: rgba(0, 245, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.game-links {
    margin-top: 1rem;
}

.play-store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: transparent;
    color: var(--text-primary);
    padding: 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: none;
    line-height: 1;
}

.play-store-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.2);
}

.game-actions {
    margin-top: 2rem;
}

/* Game Details */
.game-details {
    background: var(--background-card);
    margin-top: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 245, 255, 0.1);
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.game-background-video {
    position: absolute;
    top: 0;
    left: 50%;
    width: 60%;
    height: 100%;
    transform: translateX(-50%);
    object-fit: contain;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    filter: blur(1px) brightness(0.7);
    border-radius: 15px;
}

.game-background-banner {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    object-fit: cover;
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
    filter: blur(1px) brightness(0.65);
    border-radius: 15px;
}

.game-details .container {
    position: relative;
    z-index: 2;
}

.game-details.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.game-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.game-detail-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.game-features h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.game-features ul {
    list-style: none;
    padding: 0;
}

.game-features li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.game-screenshots {
    display: flex;
    justify-content: center;
}

.slideshow-container {
    position: relative;
    max-width: 300px;
    margin: auto;
}

.slide {
    display: none;
    animation: slideIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

.screenshot-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    border: 2px solid rgba(0, 245, 255, 0.2);
}

/* Landscape / horizontal game screenshots (16:9) */
.slideshow-container.slideshow-horizontal {
    max-width: 560px;
}

.screenshot-img-horizontal {
    max-height: none;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}

.slideshow-dots {
    text-align: center;
    padding: 20px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(0, 245, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.screenshot {
    width: 200px;
    height: 300px;
}

.mobile-frame {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.2));
}

/* Contact Section */
.contact {
    background: var(--background-dark);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 245, 255, 0.2);
    transition: var(--transition);
    min-width: 300px;
    cursor: text;
    user-select: text;
}

.contact-link:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-link .icon {
    font-size: 1.2rem;
}

/* Worked With Section */
.worked-with {
    background: var(--background-card);
    text-align: center;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2.5rem;
    margin-top: 1rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 90px;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-radius: 12px;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 245, 255, 0.2);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Footer */
.footer {
    background: var(--background-dark);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    padding: 2px;
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.2));
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 245, 255, 0.1);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--background-card);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        border-width: 2px;
        padding: 2px;
    }
    
    .hero-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .title-line:first-child {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .game-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }

    .partners-list {
        gap: 1rem 1.25rem;
    }

    .partner-logo {
        width: 140px;
        height: 72px;
        padding: 0.75rem 1rem;
    }
    
    .google-play-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-logo-icon {
        width: 40px;
        height: 40px;
        border-width: 2px;
        padding: 2px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-link {
        min-width: auto;
        width: 100%;
    }
    
    .slideshow-container {
        max-width: 250px;
    }

    .slideshow-container.slideshow-horizontal {
        max-width: 100%;
    }

    .screenshot-img-horizontal {
        aspect-ratio: 16 / 9;
    }
    
    .screenshot-img {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .title-line:first-child {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .game-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .slideshow-container {
        max-width: 200px;
    }

    .slideshow-container.slideshow-horizontal {
        max-width: 100%;
    }

    .screenshot-img-horizontal {
        aspect-ratio: 16 / 9;
    }
    
    .screenshot-img {
        max-height: 300px;
    }
    
    .dot {
        height: 10px;
        width: 10px;
        margin: 0 3px;
    }
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out;
}

.loading p {
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 1rem;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 245, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 