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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #1a1a2e;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-content {
    background: #16213e;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    text-align: left;
}

.cookie-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
}

.cookie-content p {
    margin-bottom: 16px;
    color: #b8c5d1;
    line-height: 1.6;
}

.cookie-question {
    font-weight: 600;
    color: #ffffff;
    margin-top: 24px !important;
}

.cookie-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-accept {
    background: #0066cc;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-settings {
    background: transparent;
    color: #b8c5d1;
    padding: 15px 30px;
    border: 2px solid #333;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.cookie-banner.hidden {
    display: none;
}

/* Header */
.header {
    background: #16213e;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: unset;
    color: rgba(96, 194, 24, 1);
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: rgba(96, 194, 24, 1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
     background: 
    linear-gradient(rgba(20, 22, 37, 0.8), rgba(20, 22, 37, 0.8)),
    url(./images/hero.jpg);
    padding: 120px 0 80px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: #b8c5d1;
    margin-bottom: 16px;
    line-height: 1.6;
}

.hero li {
  list-style-type: none;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.cta-button {
    background: linear-gradient(45deg, rgba(96, 194, 24, 1), #0099cc);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* About Section */
.about {
    padding: 80px 0;
    background: rgba(27, 33, 56, 1);
}

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

.about-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.3;
}

.about-text p {
    margin-bottom: 20px;
    color: #b8c5d1;
    font-size: 16px;
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 15px;
}

.about-text li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.about-text ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-text li::before {
  content: url('./images/check.svg');
}

/* Games Section */
.games {
    padding: 80px 0;
    background: #1a1a2e;
}

.games-header {
    text-align: center;
    margin-bottom: 60px;
}

.games-header h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #ffffff;
}

.games-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: rgba(96, 194, 24, 1);
    margin-bottom: 10px;
}

.stat-text {
    color: #b8c5d1;
    font-size: 14px;
}

.game-showcase img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Recommendations Section */
.recommendations {
    padding: 80px 0;
    background: #16213e;
}

.recommendations h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #ffffff;
    line-height: 1.3;
}

.game-cards {
    display: grid;
    gap: 40px;
}

.game-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background: #1a1a2e;
    border-radius: 15px;
    padding: 30px;
    align-items: center;
}

.game-card:nth-child(even) {
    grid-template-columns: 1fr 2fr;
}

.game-card:nth-child(even) .game-info {
    order: 2;
}

.game-card:nth-child(even) .game-image {
    order: 1;
}

.game-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
    text-transform: uppercase;
}

.game-info p {
    color: #b8c5d1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.game-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(96, 194, 24, 1);
    color: #1a1a2e;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.game-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: rgba(96, 194, 24, 1);
}

.google-play {
    height: 40px;
}

.game-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: rgba(27, 33, 56, 1);
}

.reviews h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #ffffff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.stars {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 15px;
}

.review-card h4 {
    margin-bottom: 15px;
    color: #ffffff;
}

.review-card p {
    color: #b8c5d1;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
}

.reviewer {
    color: rgba(96, 194, 24, 1);
    font-weight: 600;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
        background: rgba(27, 33, 56, 1);
}

.screenshots h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffffff;

}

.screenshots-subtitle {
    text-align: center;
    color: #b8c5d1;
    margin-bottom: 50px;
    font-size: 18px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.screenshot-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.screenshot-item img:hover {
    transform: translateY(-5px);
}

.google-play-section {
    text-align: center;
    margin-top: 40px;
}

.google-play-logo {
    height: 60px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #16213e;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact .container p {
    text-align: center;
    color: #b8c5d1;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

textarea {
  resize: none;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #1a1a2e;
    color: #ffffff;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(96, 194, 24, 1);
}

.submit-btn {
    background: linear-gradient(45deg, rgba(96, 194, 24, 1), #0099cc);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.contact-info {
    text-align: center;
}

.contact-info p {
    color: #b8c5d1;
    font-size: 18px;
}

/* Footer */
.footer {
    background: rgba(27, 33, 56, 1);
    padding: 40px 0 20px;
}

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

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    color: #b8c5d1;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b8c5d1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: rgba(96, 194, 24, 1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #16213e;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s;
    }

    .nav-menu.active {
        left: 0;
        gap: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-content .about-text {
        order: 2;
    }

    .about-content .about-image {
        order: 1;
    }

    .games-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .game-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .game-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .game-card:nth-child(even) .game-info {
        order: 1;
    }

    .game-card:nth-child(even) .game-image {
        order: 2;
    }

    .game-footer {
        justify-content: center;
        gap: 20px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cookie-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .cookie-content h2 {
        font-size: 24px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .btn-accept,
    .btn-settings {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        line-height: 1.3;
    }

    .games-stats {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .game-tags {
        justify-content: center;
    }

    .stat-number {
        font-size: 28px;
    }

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 28px !important;
    }
}

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

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

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Button Hover Effects */
.cta-button, .submit-btn {
    position: relative;
    overflow: hidden;
}

.cta-button::before, .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before, .submit-btn:hover::before {
    left: 100%;
}

/* Game Card Image Hover Effect */
.game-image {
    overflow: hidden;
    border-radius: 10px;
}

.game-image img {
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

/* Tag Hover Effects */
.tag {
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    background: #ffffff;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Screenshot Hover Effects */
.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.screenshot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.screenshot-item:hover::before {
    opacity: 1;
}

/* Review Card Hover Effect */
.review-card {
    transition: all 0.3s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.1);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.05));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card:hover::before {
    opacity: 1;
}

/* Stars Animation */
.stars {
    display: inline-block;
}

.review-card:hover .stars {
    animation: starGlow 0.5s ease-in-out;
}

@keyframes starGlow {
    0%, 100% {
        text-shadow: none;
    }
    50% {
        text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
    }
}

/* Form Focus Effects */
.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

/* Pulse Animation for Stats */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.stat:hover .stat-number {
    animation: pulse 0.6s ease-in-out;
    color: #ffffff;
}

/* Loading State for Buttons */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 212, 255, 0.2);
    z-index: 9999;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(96, 194, 24, 1), #0099cc);
    width: var(--scroll-progress, 0%);
    transition: width 0.1s ease;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible for Better Accessibility */
*:focus-visible {
    outline: 2px solid rgba(96, 194, 24, 1);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .hamburger {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero,
    .about,
    .games,
    .recommendations,
    .reviews,
    .screenshots,
    .contact {
        background: white !important;
        color: black !important;
        break-inside: avoid;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero,
    .about,
    .games,
    .recommendations,
    .reviews,
    .screenshots,
    .contact {
        background: #000000 !important;
        color: #ffffff !important;
    }
    
    .game-card,
    .review-card {
        border: 2px solid #ffffff;
    }
}

.policy {
  margin-top: 80px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.policy h1 {
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 54px;
  line-height: 100%;
}

.policy li {
  list-style-position: inside;
}

.policy-content a {
  color: inherit;
  text-decoration: unset;
}