:root {
    --dark-graphite: #1a1a1a;
    --darker-graphite: #141414;
    --light-graphite: #2a2a2a;
    --emerald-green: #00c853;
    --emerald-hover: #00a844;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --text-dark: #aaaaaa;
    --border-dark: #333333;
    --card-bg: #222222;
    --hero-bg: #1e1e1e;
    --header-bg: #1c1c1c;
    --footer-bg: #121212;
}

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

body {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    background-color: var(--dark-graphite);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
}

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

a {
    color: var(--emerald-green);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--emerald-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.site-header {
    background-color: var(--header-bg);
    border-bottom: 3px solid var(--emerald-green);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--emerald-green);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.main-nav a:hover {
    background-color: var(--emerald-green);
    color: var(--text-light);
}

.font-btn {
    background: var(--emerald-green);
    color: var(--text-light);
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.font-btn:hover {
    background-color: var(--emerald-hover);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--darker-graphite), var(--hero-bg));
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--emerald-green);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--emerald-green);
    color: var(--text-light);
}

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

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

.btn-secondary:hover {
    background-color: var(--emerald-green);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background-color: var(--darker-graphite);
}

.features-section h2, .about-products-section h2, .catalog-section h2, .testimonials h2, .team-section h2, .contact-section h1, .about-section h1, .cart-section h1, .checkout-section h1, .success-section h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--emerald-green);
}

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

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--emerald-green);
}

.feature-icon {
    margin-bottom: 15px;
    color: var(--emerald-green);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Stats */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
    flex-wrap: wrap;
}

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

.stat-item strong {
    display: block;
    font-size: 2.5rem;
    color: var(--emerald-green);
}

.stat-item span {
    color: var(--text-muted);
    font-weight: 600;
}

.cta-block {
    text-align: center;
    margin-top: 30px;
}

.cta-block h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* About Products */
.about-products-section {
    padding: 60px 0;
    background-color: var(--dark-graphite);
}

.about-products-section p {
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-products-section h2 {
    margin-bottom: 30px;
}

/* Catalog */
.catalog-section {
    padding: 60px 0;
    background-color: var(--darker-graphite);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-dark);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.1);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.product-category {
    color: var(--emerald-green);
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-light);
    margin: 10px 0;
}

.product-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background-color: var(--dark-graphite);
}

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

.testimonial-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--emerald-green);
    color: var(--text-muted);
}

.testimonial-author {
    font-style: italic;
    color: var(--emerald-green);
    margin-top: 10px;
}

/* Product Detail */
.product-detail {
    padding: 60px 0;
    background-color: var(--darker-graphite);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--emerald-green);
}

.product-rating {
    font-size: 1.2rem;
    margin: 20px 0;
}

.product-rating span {
    color: var(--emerald-green);
    font-weight: bold;
}

.game-details {
    padding: 40px 0;
    background-color: var(--dark-graphite);
}

.game-details h2 {
    color: var(--emerald-green);
    margin-bottom: 20px;
}

/* Cart */
.cart-section, .checkout-section, .success-section {
    padding: 60px 0;
    min-height: 60vh;
    background-color: var(--darker-graphite);
}

#cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    gap: 20px;
    border: 1px solid var(--border-dark);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-info h3 {
    color: var(--emerald-green);
}

.cart-item-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-item-controls button, .cart-item button {
    background: var(--emerald-green);
    border: none;
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-item-controls button:hover, .cart-item button:hover {
    background-color: var(--emerald-hover);
}

.cart-summary {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cart-summary p {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid var(--border-dark);
    background-color: var(--card-bg);
    color: var(--text-light);
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Contact */
.contact-section, .about-section, .team-section {
    padding: 60px 0;
    background-color: var(--darker-graphite);
}

.contact-info {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--emerald-green);
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-muted);
}

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

/* About Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-dark);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--emerald-green);
}

.team-member h3 {
    color: var(--emerald-green);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-muted);
}

/* Success */
.success-section {
    text-align: center;
}

.success-section p {
    max-width: 500px;
    margin: 20px auto 30px;
    color: var(--text-muted);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--light-graphite);
    padding: 20px;
    border-top: 3px solid var(--emerald-green);
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
}

.cookie-banner p {
    flex: 1;
    min-width: 250px;
    color: var(--text-light);
}

.cookie-banner button {
    background: var(--emerald-green);
    border: none;
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-banner button:hover {
    background-color: var(--emerald-hover);
}

.cookie-banner .close-btn {
    background: transparent;
    color: var(--text-light);
    font-size: 1.5rem;
    padding: 0 10px;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    padding: 60px 0 20px;
}

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

.footer-about h4, .footer-links h4, .footer-social h4 {
    color: var(--emerald-green);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--emerald-green);
}

.footer-social a {
    display: inline-block;
    margin-right: 15px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--emerald-green);
}

.footer-social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 20px;
    text-align: center;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .stats-row {
        gap: 20px;
    }

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

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}