/* Home Page Specific Styles */

/* Banner Styles */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1511512578047-dfb367046420?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.banner-text {
    flex: 1;
    max-width: 500px;
    animation: fadeInUp 1s ease;
}

.banner-text h2 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    font-weight: 800;
}

.banner-text h2 .highlight {
    background: linear-gradient(135deg, #ffd166 0%, #ff9e66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    position: relative;
}

.banner-text p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    opacity: 0.9;
}

/* Banner CTA Button */
.banner .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 35px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.banner .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 107, 107, 0.5);
    background: linear-gradient(135deg, #ff8e8e 0%, #ff6b6b 100%);
}

.banner .cta-button:active {
    transform: translateY(-2px);
}

.banner .cta-button i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.banner .cta-button:hover i {
    transform: translateX(5px);
}

/* CTA Button Animation */
.cta-button.clicked {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.banner-games-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 500px;
    animation: fadeIn 1s ease 0.4s both;
}

.banner-game-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.banner-game-card:nth-child(1) {
    animation-delay: 0s;
}

.banner-game-card:nth-child(2) {
    animation-delay: 0.5s;
}

.banner-game-card:nth-child(3) {
    animation-delay: 1s;
}

.banner-game-card:nth-child(4) {
    animation-delay: 1.5s;
}

.banner-game-card:hover {
    transform: translateY(-8px) scale(1.03);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.banner-game-image {
    width: 100%;
    height: 110px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.banner-game-title {
    padding: 12px;
    font-size: 0.95rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

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

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

/* Popular Categories Section */
.popular-categories {
    padding: 70px 0;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
}

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

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin: 0 0 50px;
    color: #333;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: fadeInUp 0.8s ease;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, #ff6b6b, #4ecdc4);
    margin: 15px auto;
    border-radius: 3px;
    animation: expandWidth 1s ease 0.3s both;
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

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

.category-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #ffd166;
}

.category-icon {
    font-size: 3.5rem;
    color: #ff6b6b;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 10px;
}

/* Game Sections Styles */
.featured-games,
.new-games,
.popular-games,
.action-games {
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.featured-games {
    background: #fff9f0;
}

.new-games {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
}

.popular-games {
    background: #fff9f0;
}

.action-games {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
}

.featured-games .container,
.new-games .container,
.popular-games .container,
.action-games .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Featured Games Section */
.featured-games {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.featured-games::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(30deg);
}

.featured-games .section-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.featured-games .section-title::after {
    background: linear-gradient(to right, #ffd166, #ff9e66);
}

.featured-games .section-title i {
    color: #ffd166;
    text-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
}

/* New Games Section */
.new-games {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    padding: 80px 0;
    position: relative;
}

.new-games::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%234ecdc4" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="%231a936f" opacity="0.1"/><circle cx="80" cy="80" r="1.5" fill="%234ecdc4" opacity="0.1"/></svg>');
    background-size: 100px 100px;
}

.new-games .section-title::after {
    background: linear-gradient(to right, #4ecdc4, #1a936f);
}

.new-games .section-title i {
    color: #4ecdc4;
}

/* Popular Games Section */
.popular-games {
    background: #fff9f0;
    padding: 80px 0;
    position: relative;
}

.popular-games::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 107, 107, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 142, 142, 0.05) 0%, transparent 20%);
}

.popular-games .section-title::after {
    background: linear-gradient(to right, #ff6b6b, #ff8e8e);
}

.popular-games .section-title i {
    color: #ff6b6b;
}

/* Action Games Section */
.action-games {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    padding: 80px 0;
    position: relative;
}

.action-games::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(255, 158, 102, 0.03) 25%,
            transparent 25%,
            transparent 75%,
            rgba(255, 107, 107, 0.03) 75%),
        linear-gradient(45deg,
            rgba(255, 107, 107, 0.03) 25%,
            transparent 25%,
            transparent 75%,
            rgba(255, 158, 102, 0.03) 75%);
    background-size: 60px 60px;
}

.action-games .section-title::after {
    background: linear-gradient(to right, #ff9e66, #ff6b6b);
}

.action-games .section-title i {
    color: #ff9e66;
}

/* Horizontal Game Card */
.horizontal-game-card {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    gap: 30px;
    padding: 30px;
    backdrop-filter: blur(10px);
    position: relative;
    align-items: center;
}

.horizontal-game-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: -1;
    border-radius: 20px;
}

.horizontal-game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.horizontal-game-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.horizontal-game-card:hover::after {
    transform: scaleX(1);
}

.horizontal-game-thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    display: block;
}

.horizontal-game-card:hover .horizontal-game-thumbnail {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.horizontal-game-thumbnail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.horizontal-game-info {
    /* flex: 1; */
    display: flex;
    width: 65%;
    flex-direction: column;
    justify-content: center;
}

.horizontal-game-info h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 800;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
}

.horizontal-game-info h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.horizontal-game-info p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.horizontal-play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.horizontal-play-button::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: 0.5s;
}

.horizontal-play-button:hover::before {
    left: 100%;
}

.horizontal-play-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.horizontal-play-button:active {
    transform: translateY(-2px);
}

.horizontal-play-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.horizontal-play-button:hover i {
    transform: translateX(5px);
}

/* Grid Game Card */
.grid-game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

.grid-game-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.grid-game-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4ecdc4, #1a936f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

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

.grid-game-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
    position: relative;
}

.grid-game-card:hover .grid-game-thumbnail {
    transform: scale(1.08);
}

.grid-game-thumbnail::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.grid-game-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.grid-game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-game-info p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.grid-play-button {
    display: block;
    padding: 15px;
    background: linear-gradient(135deg, #4ecdc4 0%, #1a936f 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.3);
    position: relative;
    overflow: hidden;
}

.grid-play-button::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: 0.5s;
}

.grid-play-button:hover::before {
    left: 100%;
}

.grid-play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.4);
}

.grid-play-button:active {
    transform: translateY(-1px);
}

.grid-play-button i {
    font-size: 1.2rem;
}

/* Compact Game Card */
.compact-game-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
    position: relative;
    transform: translateY(0);
}

.compact-game-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #ff6b6b, #ff8e8e);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.compact-game-card:hover::before {
    transform: scaleY(1);
}

.compact-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.compact-game-thumbnail {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.compact-game-card:hover .compact-game-thumbnail {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.compact-game-thumbnail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.compact-game-info {
    width: 65%;
}

.compact-game-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-play-button {
    padding: 8px 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.compact-play-button::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: 0.5s;
}

.compact-play-button:hover::before {
    left: 100%;
}

.compact-play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.compact-play-button:active {
    transform: translateY(-1px);
}

.compact-play-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.compact-play-button:hover i {
    transform: translateX(3px);
}

/* Action Game Card */
.action-games .game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

.action-games .game-card::before {
    content: "ACTION";
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff9e66 0%, #ff6b6b 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 158, 102, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.action-games .game-card:hover::before {
    transform: scale(1);
}

.action-games .game-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.action-games .game-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
    position: relative;
}

.action-games .game-card:hover .game-thumbnail {
    transform: scale(1.08);
}

.action-games .game-thumbnail::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.action-games .game-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.action-games .game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.action-games .game-info p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.action-games .play-button {
    display: block;
    padding: 15px;
    background: linear-gradient(135deg, #ff9e66 0%, #ff6b6b 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(255, 158, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.action-games .play-button::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: 0.5s;
}

.action-games .play-button:hover::before {
    left: 100%;
}

.action-games .play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 158, 102, 0.4);
}

.action-games .play-button:active {
    transform: translateY(-1px);
}

.action-games .play-button i {
    font-size: 1.2rem;
}

/* Special Showcase Section */
.special-showcase {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.special-showcase::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(30deg);
}

.special-showcase .section-title {
    color: #333;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.special-showcase .section-title::after {
    background: linear-gradient(to right, #ffffff, #ffd166);
}

.showcase-content {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.featured-large-card {
    flex: 2;
}

.side-games {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.large-game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    height: 100%;
}

.large-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.large-game-thumbnail {
    width: 55%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.large-game-card:hover .large-game-thumbnail {
    transform: scale(1.05);
}

.large-game-info {
    width: 55%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.tag {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tag.popular {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #333;
}

.large-game-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.large-game-info p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #777;
    font-weight: 600;
}

.stat i {
    color: #ff6b6b;
}

.large-play-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    font-size: 1.2rem;
}

.large-play-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.large-play-button i {
    font-size: 1.5rem;
}

/* Text truncation utility classes */
.text-truncate-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Animations */
@keyframes float {

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

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .showcase-content {
        flex-direction: column;
    }

    .large-game-card {
        flex-direction: column;
    }

    .large-game-thumbnail {
        width: 100%;
        height: 300px;
    }

    .large-game-info {
        width: 100%;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .horizontal-game-card {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .section-title i {
        font-size: 1.3rem;
    }

    .horizontal-game-thumbnail {
        width: 100%;
        height: 200px;
    }

    .compact-game-card {
        gap: 15px;
        padding: 12px;
    }

    .compact-game-thumbnail {
        width: 70px;
        height: 55px;
    }

    .game-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 1023px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .banner-text {
        max-width: 100%;
    }

    .banner-text h2 {
        font-size: 2.3rem;
    }

    .banner {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .banner-text h2 {
        font-size: 2rem;
    }

    .banner-text p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

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

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

@media (max-width: 480px) {
    .main-header {
        padding: 0;
    }
    .horizontal-play-button {
        font-size: 0.8rem;
    }
    .compact-game-thumbnail {
        width: 90px;
        height: 90px;
    }

    .compact-play-button {
        width: 90px;
        padding: 4px 5px;
    }

    .category-card {
        padding: 10px 15px;
    }

    .category-card h3 {
        font-size: 1.3rem;
    }

    .category-card p {
        font-size: 0.9rem;
    }

    .horizontal-game-card {
        flex-direction: row;
    }

    .horizontal-game-thumbnail {
        width: 100px;
        height: 100px;
    }

    .compact-game-info h3 {
        font-size: 1rem;
    }

    .header-container {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
    }

    .banner-content {
        padding: 0 15px;
    }

    .banner-text h2 {
        font-size: 1.8rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

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

    .category-icon {
        font-size: 2rem;
        margin-bottom: 5px;
    }

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

    .banner-games-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        max-width: 100%;
        gap: 15px;
    }

    .menu-toggle,
    .search-toggle {
        padding: 12px;
        min-width: 45px;
        min-height: 45px;
        font-size: 1.3rem;
    }
}

/* Responsive adjustments for more cards */
@media (min-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 50px;
    animation: fadeIn 0.8s ease 0.5s both;
}

.view-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #4ecdc4 0%, #1a936f 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1.15rem;
    position: relative;
    overflow: hidden;
}

.view-more-button::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: 0.5s;
}

.view-more-button:hover::before {
    left: 100%;
}

.view-more-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(78, 205, 196, 0.4);
}

.view-more-button:active {
    transform: translateY(-2px);
}

.view-more-button i {
    transition: transform 0.3s ease;
}

.view-more-button:hover i {
    transform: translateX(5px);
}