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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header.header {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease;
}

.logo-section:hover {
    transform: scale(1.05);
}

.logo {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.3));
}

.brand-name {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35 0%, #f39c12 50%, #e74c3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

.centered-section {
    text-align: center;
}

.centered-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.centered-section .features-grid,
.centered-section .categories-grid,
.centered-section .testimonials-grid,
.centered-section .games-grid {
    justify-content: center;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
    padding-right: 20px;
}

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

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero h2 {
    font-size: 52px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    line-height: 1.1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0;
    position: relative;
    z-index: 1;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Features Section */
.features {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #f39c12, #e74c3c);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.3));
}

.feature-card p {
    font-size: 16px;
    opacity: 0.9;
}

/* Game Types Section */
.game-types {
    background: rgba(15, 15, 35, 0.8);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.category-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.2));
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.category-card p {
    font-size: 14px;
    opacity: 0.8;
}

/* About Preview Section */
.about-preview {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    text-align: center;
}

.about-preview p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(10px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid #ff6b35;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.15);
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #ff6b35;
    font-size: 14px;
}

/* Featured Games Section */
.featured-games {
    background: rgba(15, 15, 35, 0.9);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.game-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.game-card:hover .image-placeholder::before {
    transform: translateX(100%);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.game-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b35;
    text-align: center;
    margin: 16px 24px 8px;
}


.game-card h3 {
    padding: 24px 24px 12px;
    text-align: center;
    font-size: 20px;
}

.game-card p {
    padding: 0 24px 24px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #e74c3c 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    margin: 0 24px 24px;
    width: calc(100% - 48px);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ff6b35;
    border: 2px solid #ff6b35;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(243, 156, 18, 0.15) 100%);
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 16px;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.newsletter-form .btn {
    width: auto;
    margin: 0;
}

/* Contact Section */
.contact {
    background: rgba(26, 26, 46, 0.8);
}

.contact h2 {
    margin-bottom: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.15);
}

.contact-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.3));
}

.contact-item h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.contact-item a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #f39c12;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(10, 10, 20, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    margin-top: 40px;
}

.footer-content {
    padding: 60px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.footer-about {
    max-width: 300px;
}

.footer-about p {
    margin-top: 16px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    h2 {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .hero h2 {
        font-size: 36px;
    }

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

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

    .hero-text {
        text-align: center;
        padding-right: 0;
    }

    .logo {
        width: 48px;
        height: 48px;
    }

    .brand-name {
        font-size: 24px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 60px 0;
    }

    .features-grid,
    .categories-grid,
    .testimonials-grid,
    .games-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-card,
    .category-card,
    .testimonial-card,
    .contact-item {
        padding: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 200px;
    }
}

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

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    h2 {
        font-size: 24px;
    }

    .brand-name {
        font-size: 20px;
    }

    .footer-about {
        max-width: none;
    }
}

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

.feature-card,
.category-card,
.testimonial-card,
.game-card,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.category-card:nth-child(2) { animation-delay: 0.1s; }
.category-card:nth-child(3) { animation-delay: 0.2s; }
.category-card:nth-child(4) { animation-delay: 0.3s; }