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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #2c2c2c;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(19, 15, 37, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f2d271, #a63d39);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #f2d271;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #f2d271, #a63d39);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: #130f25;
    min-height: 100vh;
    display: flex;
    align-items: center;
    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 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="white" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-game-icon {
    width: 200px;
    height: 200px;
    border-radius: 22px;
    border: 4px solid #ffffff;
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-game-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f2d271, #a63d39, #2f4242);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(242, 210, 113, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #cccccc;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #f2d271, #a63d39);
    color: white;
    box-shadow: 0 4px 15px rgba(242, 210, 113, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 210, 113, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #f2d271;
}

.btn-secondary:hover {
    background: #f2d271;
    transform: translateY(-2px);
}

.app-store-badge {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f2d271, #a63d39);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #cccccc;
    margin-bottom: 3rem;
}

/* Screenshots Section */
.screenshots {
    background: #2c2c2c;
}

.screenshots-container {
    position: relative;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-display {
    position: relative;
    flex: 1;
    height: 500px;
    overflow: hidden;
    background: #1a1a1a;
}

.screenshot-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

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

.nav-btn {
    background: linear-gradient(135deg, #f2d271, #a63d39);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(242, 210, 113, 0.4);
    z-index: 10;
    position: relative;
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(242, 210, 113, 0.6);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn-left {
    margin-right: 1rem;
}

.nav-btn-right {
    margin-left: 1rem;
}

/* Responsive adjustments for screenshots */
@media (max-width: 1240px) {
    .screenshots-container {
        max-width: 100%;
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .screenshots-container {
        gap: 0.5rem;
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .screenshot-display {
        height: 350px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .nav-btn-left {
        margin-right: 0.5rem;
    }
    
    .nav-btn-right {
        margin-left: 0.5rem;
    }
}

@media (max-width: 480px) {
    .screenshots-container {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .screenshot-display {
        height: 250px;
    }
}

/* FAQ Section */
.faq {
    background: #2c2c2c;
}

.faq-list {
    max-width: 1240px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 2px solid #000000;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item:hover {
    border-color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #333333;
    line-height: 1.6;
}

/* Privacy Section */
.privacy {
    background: #2c2c2c;
}

.privacy-content {
    max-width: 1240px;
    margin: 0 auto;
}

.privacy-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid #000000;
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
}

.privacy-section p {
    color: #333333;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: #2c2c2c;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-info {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #000000;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #333333;
    line-height: 1.6;
}

.email-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.email-link:hover {
    color: #f7931e;
    border-bottom-color: #f7931e;
    text-decoration: none;
}

.contact-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #000000;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #000000;
    border-radius: 10px;
    background: #ffffff;
    color: #000000;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-message,
.form-error {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.form-message {
    background: #1a5f1a;
    color: #4ade80;
}

.form-error {
    background: #5f1a1a;
    color: #f87171;
}

/* Footer */
.footer {
    background: #2c2c2c;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #000000;
}

.footer p {
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-game-icon {
        width: 150px;
        height: 150px;
        border-radius: 18px;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-game-icon {
        width: 120px;
        height: 120px;
        border-radius: 15px;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .privacy-section,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Privacy Page Styles */
.privacy-page {
    padding-top: 100px;
    min-height: 100vh;
    background: #0a0a0a;
}

.privacy-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
}


.back-to-home {
    text-align: center;
    margin-top: 3rem;
}

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

::-webkit-scrollbar-track {
    background: #2c2c2c;
}

::-webkit-scrollbar-thumb {
    background: #666666;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999999;
}
