/* Index Page Specific Styles */

/* Homepage Dropdown Menu - Compact Style */
.dropdown-menu {
    padding: 0.3rem 0 !important;
}

.dropdown-menu li a {
    padding: 0.4rem 1.8rem !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(255, 107, 53, 0.04) !important;
}

/* Hero Section - Redesigned */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero-wrapper {
    display: contents;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    animation: slideInLeft 0.8s ease-out 0.1s both;
}

.hero-title .highlight {
    background: linear-gradient(120deg, #ffb347, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    opacity: 0.95;
    line-height: 1.6;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 1rem;
    min-width: 30px;
    padding-top: 0.2rem;
}

.feature-content h3 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
    color: white;
}

.feature-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
    display: inline-block;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 0.3rem;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(5deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: all 0.5s ease;
    filter: brightness(1.1) contrast(1.05);
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.1);
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ffb347, #ffa500);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
    animation: bounce 2s ease-in-out infinite;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.3), rgba(247, 147, 30, 0.2));
    z-index: 3;
    border-radius: 20px;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.image-frame {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    z-index: 1;
    box-shadow:
        0 0 0 10px rgba(255, 107, 53, 0.1),
        0 0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    animation: pulse 3s infinite;
    transition: all 0.5s ease;
}

.hero-image::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: 0;
    border-radius: 35px;
    opacity: 0.3;
    filter: blur(20px);
    animation: rotate 8s infinite linear;
}

.hero-image::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    z-index: 4;
    pointer-events: none;
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Decorative elements around the image */
.hero-image .decoration {
    position: absolute;
    z-index: 5;
}

.hero-image .decoration-1 {
    top: -30px;
    left: -30px;
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-image .decoration-2 {
    bottom: -40px;
    right: -40px;
    width: 80px;
    height: 80px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 8s ease-in-out infinite 1s;
}

.hero-image .decoration-3 {
    top: 50%;
    right: -50px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 5s ease-in-out infinite 0.5s;
}

.hero-image .decoration-4 {
    top: -20px;
    right: 30%;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 7s ease-in-out infinite 1.5s;
}

/* Game-related decorative elements */
.hero-image .game-icon {
    position: absolute;
    z-index: 6;
    opacity: 0.7;
    font-size: 24px;
    animation: float 6s ease-in-out infinite;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    pointer-events: none;
    font-family: 'Arial', sans-serif;
}

.hero-image .game-icon-1 {
    top: -25px;
    left: 20%;
    animation-delay: 0s;
}

.hero-image .game-icon-2 {
    bottom: -30px;
    left: 40%;
    animation-delay: 1s;
    font-size: 28px;
}

.hero-image .game-icon-3 {
    top: 30%;
    right: -40px;
    animation-delay: 2s;
    font-size: 20px;
}

.hero-image .game-icon-4 {
    top: -35px;
    right: 10%;
    animation-delay: 3s;
    font-size: 32px;
}

.hero-image .game-icon-5 {
    bottom: -35px;
    right: 20%;
    animation-delay: 4s;
    font-size: 26px;
}

/* Floating particles effect */
.hero-image .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    z-index: 5;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow:
            0 0 0 10px rgba(255, 107, 53, 0.1),
            0 0 0 15px rgba(255, 255, 255, 0.1),
            inset 0 0 20px rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow:
            0 0 0 15px rgba(255, 107, 53, 0.15),
            0 0 0 20px rgba(255, 255, 255, 0.15),
            inset 0 0 30px rgba(255, 255, 255, 0.4);
    }

    100% {
        box-shadow:
            0 0 0 10px rgba(255, 107, 53, 0.1),
            0 0 0 15px rgba(255, 255, 255, 0.1),
            inset 0 0 20px rgba(255, 255, 255, 0.3);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Popular Games Section */
.popular-games {
    padding: 4rem 0;
    background: linear-gradient(to bottom, white, #f8f9fa);
}

.popular-games .section-header {
    margin-bottom: 3rem;
}

.popular-games .section-title {
    position: relative;
    padding-bottom: 0;
}

.popular-games .section-title::after {
    display: none;
}

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

.popular-games .game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.popular-games .game-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.popular-games .game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular-games .game-card:hover img {
    transform: scale(1.1);
}

.popular-games .game-card-content {
    padding: 1.5rem;
}

.popular-games .game-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.popular-games .game-card .category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
    font-weight: 500;
}

.popular-games .game-card .play-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.popular-games .game-card .play-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.4);
}

/* Categories Section */
.categories {
    padding: 3rem 0;
    background-color: white;
}

.categories .section-title {
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.categories .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

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

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--text-color);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
    color: white;
}

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

.category-card:hover .category-icon {
    transform: scale(1.2);
    color: white;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.category-card:hover h3 {
    color: white;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Latest Articles Section */
.latest-articles {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f8f9fa, white);
}

.latest-articles .section-header {
    margin-bottom: 3rem;
}

.latest-articles .section-title {
    position: relative;
    padding-bottom: 0;
}

.latest-articles .section-title::after {
    display: none;
}

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

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.article-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-content h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
    line-height: 1.7;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 0.8rem;
}

.read-more::after {
    content: "→";
    transition: transform 0.3s;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: linear-gradient(to bottom, white, #f8f9fa);
}

.testimonials .section-header {
    margin-bottom: 3rem;
}

.testimonials .section-title {
    position: relative;
    padding-bottom: 0;
}

.testimonials .section-title::after {
    display: none;
}

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

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(255, 107, 53, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    color: var(--primary-color);
}

.author-title {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

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

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--text-color);
    color: white;
    transform: translateY(-2px);
}

/* Featured Games Section */
.featured-games {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f8f9fa, white);
}

.featured-games .section-header {
    margin-bottom: 3rem;
}

.featured-games .section-title {
    position: relative;
    padding-bottom: 0;
}

.featured-games .section-title::after {
    display: none;
}

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

.game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.game-card-content {
    padding: 1.5rem;
}

.game-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.game-card .category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
    font-weight: 500;
}

.game-card .play-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.game-card .play-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.4);
}

/* Community Section */
.community {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #fff9f8, white);
}

.community-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.community-info {
    flex: 1;
}

.community-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.community-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.community-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.community-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.community-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
        min-height: auto;
        text-align: center;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-title .highlight::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-features {
        text-align: left;
    }

    .hero-image {
        width: 100%;
        transform: none;
    }

    .hero-image:hover {
        transform: none;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .article-card {
        flex-direction: column;
        border-radius: 20px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .article-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .article-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .article-content {
        width: 100%;
        padding: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .article-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .testimonial-card {
        border-radius: 20px;
        padding: 1.8rem;
    }

    .testimonial-content p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .author-title {
        font-size: 0.95rem;
    }

    .hero-stats {
        justify-content: center;
    }
}

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

    /* Hero Section Mobile */
    .hero {
        padding: 1.5rem 0;
        min-height: auto;
    }

    .hero .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .hero-title .highlight::after {
        width: 60px;
        height: 3px;
    }

    .hero-features {
        margin-bottom: 1.5rem;
    }

    .feature-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .feature-icon {
        margin-right: 0.8rem;
        margin-bottom: 0;
        font-size: 1.2rem;
        min-width: 25px;
    }

    .feature-content h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .feature-content p {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-around;
        margin-top: 1.5rem;
    }

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

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-image {
        width: 100%;
        margin-top: 1.5rem;
        transform: none !important;
    }

    .hero-image img {
        height: 200px;
    }

    /* Games Grid Mobile */
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 2rem;
    }

    .game-card {
        border-radius: 12px;
    }

    .game-card img {
        height: 150px;
    }

    .game-card-content {
        padding: 1rem;
    }

    .game-card h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .game-card .category {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .game-card .play-btn {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    /* Categories Grid Mobile */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-card {
        padding: 1.2rem 0.8rem;
        border-radius: 12px;
    }

    .category-icon {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .category-card h3 {
        font-size: 0.85rem;
        font-weight: 600;
    }

    /* Articles Grid Mobile */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .article-card {
        border-radius: 12px;
    }

    .article-card img {
        height: 150px;
    }

    .article-content {
        padding: 1rem;
    }

    .article-content h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .article-content p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .read-more {
        font-size: 0.9rem;
    }

    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .testimonial-card {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .testimonial-card::before {
        font-size: 3rem;
        top: 5px;
        left: 10px;
    }

    .testimonial-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .author-name {
        font-size: 0.95rem;
    }

    .author-title {
        font-size: 0.8rem;
    }

    /* Newsletter Mobile */
    .newsletter {
        padding: 2rem 0;
    }

    .newsletter-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .newsletter-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
        gap: 0.8rem;
    }

    .newsletter-form input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .newsletter-form button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Featured/Popular Games Sections */
    .featured-games,
    .popular-games {
        padding: 2rem 0;
    }

    .featured-games .section-title,
    .popular-games .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Community Mobile */
    .community-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .community-info,
    .community-image {
        width: 100%;
    }

    .community-info h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .community-info p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .community-stats {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: space-around;
    }

    /* Container Mobile */
    .container {
        width: 95%;
        padding: 0 10px;
    }

    /* Section Title Mobile */
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .section-title::after {
        width: 60px;
        height: 2px;
    }
}

@media (max-width: 768px) {
    .community-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-item {
        flex: 1 1 30%;
        text-align: center;
    }

    /* Hero Mobile */
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        /* flex-direction: column; */
        gap: 1.2rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    /* Section Header Mobile */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .section-header .section-title {
        font-size: 1.8rem;
    }

    .view-all-btn {
        width: 100%;
        justify-content: center;
    }
}

/* New Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}