/* Base Styles */
:root {
    --primary-color: #7209b7;
    --secondary-color: #3f37c9;
    --accent-color: #f72585;
    --background-color: #101010;
    --text-color: #f8f9fa;
    --dark-bg: #1a1a1a;
    --card-bg: #222222;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

img:hover {
    transform: scale(1.02);
}

/* Hero Image Placeholder */
.hero-image-placeholder {
    width: 100%;
    max-width: 800px;
    height: 600px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--card-bg) 50%, var(--primary-color) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(247, 37, 133, 0.3);
    box-shadow: var(--box-shadow);
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(247, 37, 133, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(114, 9, 183, 0.1) 0%, transparent 50%);
    animation: pulse 3s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.game-preview {
    text-align: center;
    z-index: 2;
    position: relative;
}

.alien-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    animation: float 2s ease-in-out infinite alternate;
}

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

.game-preview h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-preview p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.game-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.game-features span {
    background: rgba(247, 37, 133, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(247, 37, 133, 0.3);
    transition: var(--transition);
}

.game-features span:hover {
    background: rgba(247, 37, 133, 0.3);
    transform: translateY(-2px);
}

/* Gameplay Guide Styles */
.gameplay-guide {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    border: 1px solid rgba(247, 37, 133, 0.2);
}

.gameplay-guide h5 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.gameplay-guide h5:first-child {
    margin-top: 0;
}

.gameplay-guide ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.gameplay-guide li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.gameplay-guide p {
    margin-bottom: 1rem;
    line-height: 1.7;
    opacity: 0.9;
}

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

section {
    padding: 5rem 0;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background-color: var(--primary-color);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(16, 16, 16, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--accent-color);
}

.main-nav .nav-list {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    position: relative;
    width: 30px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

.hamburger::before {
    transform: translateY(-10px);
}

.hamburger::after {
    transform: translateY(10px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.rating-stars {
    color: #ffcc00;
    font-size: 1.2rem;
}

.rating-votes {
    font-size: 0.9rem;
    opacity: 0.7;
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-detail {
    display: flex;
    gap: 0.5rem;
}

.hero-detail span {
    font-weight: bold;
    color: var(--accent-color);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background-color: var(--card-bg);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* Game Section */
.game-section {
    background-color: var(--dark-bg);
    text-align: center;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
}

.game-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 1rem;
}

#game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* YouTube Videos Section */
.youtube-videos {
    margin-top: 3rem;
    text-align: center;
}

.youtube-videos h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.videos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.video-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
    text-align: left;
}

.video-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.3;
}

.video-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
    margin: 0;
}

/* Features Section */
.features {
    background-color: var(--background-color);
}

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

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* What is Section */
.what-is {
    background-color: var(--dark-bg);
}

.what-is-content {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.what-is-text p {
    margin-bottom: 1rem;
}

.what-is-text h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--accent-color);
}

.what-is-text ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.what-is-text li {
    margin-bottom: 0.5rem;
}

.what-is-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* How to Play Section */
.how-to-play {
    background-color: var(--background-color);
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background-color: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.controls-info {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 0 auto;
}

.controls-info ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.controls-info li {
    margin-bottom: 0.5rem;
}

/* Why Play Section */
.why-play {
    background-color: var(--dark-bg);
}

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

.reason-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.reason-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
    background-color: var(--background-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 1.5rem 1.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.faq-question h3,
.faq-question h4 {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: var(--accent-color);
    line-height: 1.4;
}

.faq-answer {
    padding: 1.5rem;
    max-height: none;
    overflow: visible;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Remove toggle functionality */
.faq-toggle {
    display: none;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 0.5rem;
}

.footer-logo h2:after {
    display: none;
}

.footer-links h3, 
.footer-social h3 {
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-links h3:after, 
.footer-social h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 2rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .main-nav .nav-list.active {
        transform: translateY(0);
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        flex: none;
        width: 100%;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .videos-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .youtube-videos h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .game-controls {
        flex-direction: column;
    }
    
    .game-controls .btn {
        width: 100%;
    }
    
    .youtube-videos {
        margin-top: 2rem;
    }
    
    .youtube-videos h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .videos-container {
        gap: 1rem;
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .video-info h4 {
        font-size: 1.1rem;
    }
    
    .video-info p {
        font-size: 0.85rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo h2,
    .footer-links h3, 
    .footer-social h3 {
        text-align: center;
    }
    
    .footer-links h3:after, 
    .footer-social h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}