/* circle lights section */
.text-center {
    text-align: center;
}

.p-5 {
    padding: 3rem;
}

.steps-container {
    max-width: 1600px;
    width: 100%;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 0px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.steps-containers {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.step-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.numbers {
    width: 77px;
    height: 77px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    margin-bottom: 20px;
    transition: all 0.5s ease;
    border: 3px solid #e0e0e0;
}

.numbers.highlight {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: 3px solid #ff6b35;
    box-shadow:
        0 0 20px rgba(255, 107, 53, 0.6),
        0 0 40px rgba(255, 107, 53, 0.4),
        0 0 60px rgba(255, 107, 53, 0.2);
    transform: scale(1.1);
}

.title-text-wrap {
    max-width: 200px;
}

.step-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
}

.step-caption {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.connecting-line {
    position: absolute;
    top: 36px;
    left: 160px;
    right: 160px;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-line {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    width: 0%;
    transition: width 12s linear;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .steps-containers {
        flex-direction: column;
        gap: 30px;
    }

    .step-block {
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }

    .numbers {
        width: 60px;
        height: 60px;
        font-size: 20px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .connecting-line {
        display: none;
    }
}

/* Review Component Styles */
.review-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.95), rgba(26, 26, 26, 0.9));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 107, 53, 0.2);
}

.review-card:hover::before {
    opacity: 1;
}

.review-card-body {
    padding: 25px 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 250px;
}

.username {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.rating-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.rating-text {
    color: #ff6b35;
    font-weight: bold;
    font-size: 15px;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.review-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 58px;
    max-height: 58px;
    white-space: normal;
}

/* Responsive */
@media (max-width: 768px) {
    .review-card {
        margin-bottom: 20px;
    }

    .review-card-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 20px 20px 15px;
    }

    .review-card-body {
        padding: 0 20px 20px;
    }

    .user-info {
        width: 100%;
    }

    .rating-section {
        justify-content: flex-start;
    }
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.star {
    cursor: pointer;
    font-size: 2rem;
    color: #444;
    transition: all 0.2s ease;
}

.star:hover {
    transform: scale(1.1);
}

.star.active {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.star.hover {
    color: #ffed4e;
}

/* Comment Form */

.comment-textarea {
    width: 100%;
    background: #333;
    border: 2px solid #444;
    border-radius: 12px;
    padding: 1rem;
    color: #fff;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
}

.comment-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.comment-textarea::placeholder {
    color: #888;
}

.char-counter {
    text-align: right;
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Buttons */
.submit-btn,
.review-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
    justify-content: center;
}

.submit-btn:hover:not(:disabled),
.review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Modal */
.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #333;
    border-radius: 16px;
}

.modal-header {
    border-bottom: 1px solid #333;
    background: rgba(255, 255, 255, 0.05);
}

.modal-title {
    color: #fff;
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #333;
    background: rgba(255, 255, 255, 0.05);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Login Prompt */
.login-prompt {
    text-align: center;
    padding: 2rem 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.login-prompt p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.login-prompt .btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.login-prompt .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    color: white;
    text-decoration: none;
}

.login-prompt .btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .login-prompt {
        padding: 1.5rem 1rem;
    }

    .login-prompt p {
        font-size: 0.95rem;
    }

    .login-prompt .btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.95rem;
    }
}

/* Star Display */
.stars {
    display: inline-block;
    --star-size: 24px;
    --rating: 0;
    position: relative;
    font-size: var(--star-size);
    line-height: 1;
}

.stars::before {
    content: "★★★★★";
    letter-spacing: 3px;
    background: linear-gradient(90deg, #ffcc00 calc(var(--rating)/5*100%), #ccc calc(var(--rating)/5*100%));
    -webkit-background-clip: text;
    color: transparent;
}

/* Reviews Slider */
.reviews-container {
    max-width: 1600px !important;
    padding: 0px !important;
}

.reviews-slider-container {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 0 40px;
    overflow: hidden;
}

.reviews-slider {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    padding: 15px 0;
    margin: -15px 0;
    width: 100%;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
    padding: 0 20px;
    cursor: grab;
    width: 100%;
}

.reviews-track:active {
    cursor: grabbing;
}

.review-slide {
    flex: 0 0 calc(25% - 15px);
    height: 300px;
    padding: 15px 0;
    min-width: 0;
}

.review-slide .review-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}



/* Responsive */
@media (max-width: 1200px) {
    .review-slide {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 992px) {
    .review-slide {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .review-slide {
        flex: 0 0 100%;
    }
}

/* guides section */
.guides-section .container {
    max-width: 1600px !important;
}

/* Header Styles */
.guides-header {
    position: relative;
    z-index: 10;
}

.guides-title-wrapper {
    display: inline-block;
    position: relative;
}

.guides-title {
    font-size: 2.5rem;
    background-clip: text;
    margin-bottom: 1rem;
}

.guides-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fade-in-up 1s ease-out 0.5s forwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guides-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6600, transparent);
    animation: line-glow 2s ease-in-out infinite;
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: #ff6600;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff6600;
    animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes line-glow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

@keyframes dot-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}

/* Hologram Card Styles */
.guide-hologram-card {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    height: 400px;
}

.guide-hologram-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 102, 0, 0.3);
    border-color: var(--primary-color);
}

.hologram-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--warning-color), var(--success-color), var(--primary-color));
    background-size: 400% 400%;
    animation: border-rotate 3s linear infinite;
    z-index: 1;
}

.hologram-border-inner {
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    border-radius: 18px;
    position: relative;
}

@keyframes border-rotate {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.guide-hologram-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.guide-hologram-image {
    position: relative;
    height: 60%;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.guide-hologram-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.guide-hologram-card:hover .guide-hologram-image img {
    transform: scale(1.1);
}

.guide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6600;
    font-size: 3rem;
}

.guide-hologram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
}

.guide-game-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* All Guide Card Styling - All Games kartı gibi */
.guide-all-card {
    transition: all 0.3s ease;
}

.guide-absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.all-guide-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    text-align: center !important;
    white-space: nowrap;
    z-index: 10;
}

.all-guide-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8) !important;
    z-index: 3;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.guide-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* All Guide Card Hover Effects */
.guide-all-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.guide-all-card:hover .all-guide-icon {
    color: var(--primary-color) !important;
    z-index: 11;
}

.guide-all-card:hover .all-guide-title {
    z-index: 11;
}

.guide-all-card:hover .guide-count {
    color: white;
}

/* Responsive adjustments for All Guide card */
@media (max-width: 1200px) {
    .all-guide-icon {
        font-size: 2.5rem;
        gap: 6px;
    }

    .guide-count {
        font-size: 0.8rem;
        padding: 0.15rem 0.4rem;
    }

    .all-guide-title {
        font-size: 1.3rem !important;
        top: 12px !important;
    }
}

@media (max-width: 992px) {
    .all-guide-icon {
        font-size: 2.2rem;
        gap: 5px;
    }

    .guide-count {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
    }

    .all-guide-title {
        font-size: 1.2rem !important;
        top: 10px !important;
    }
}

@media (max-width: 768px) {
    .all-guide-icon {
        font-size: 2rem;
        gap: 4px;
    }

    .guide-count {
        font-size: 0.7rem;
        padding: 0.1rem 0.3rem;
    }

    .all-guide-title {
        font-size: 1.1rem !important;
        top: 8px !important;
    }
}

@media (max-width: 576px) {
    .all-guide-icon {
        font-size: 1.8rem;
        gap: 3px;
    }

    .guide-count {
        font-size: 0.65rem;
        padding: 0.1rem 0.3rem;
    }

    .all-guide-title {
        font-size: 1rem !important;
        top: 6px !important;
    }
}

.guide-date-badge {
    background: rgba(0, 0, 0, 0.7);
    color: #ccc;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    backdrop-filter: blur(5px);
}

.guide-hologram-info {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.guide-hologram-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.guide-hologram-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    flex: 1;
}

.guide-hologram-action {
    text-align: center;
}

.guide-read-more {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--text-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.guide-hologram-card:hover .guide-read-more {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

/* Mini Hologram Cards */
.guide-mini-hologram {
    position: relative;
    background: rgba(15, 15, 15, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 102, 0, 0.2);
    height: 180px;
}

.guide-mini-hologram:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.3);
    border-color: rgba(255, 102, 0, 0.6);
}

.mini-hologram-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(45deg, #ff6600, #ffd700, #00ff88);
    background-size: 300% 300%;
    animation: border-rotate 4s linear infinite;
    z-index: 1;
}

.mini-hologram-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mini-hologram-content img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.guide-mini-hologram:hover .mini-hologram-content img {
    transform: scale(1.05);
}

.mini-guide-placeholder {
    width: 100%;
    height: 70%;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6600;
    font-size: 2rem;
}

.mini-hologram-info {
    flex: 1;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-guide-date {
    color: #ccc;
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
}

.mini-guide-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

/* All Guides Hologram */
.guide-all-hologram {
    position: relative;
    background: rgba(15, 15, 15, 0.8);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 102, 0, 0.3);
    height: 200px;
}

.guide-all-hologram:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.4);
    border-color: rgba(255, 102, 0, 0.8);
}

.all-hologram-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--warning-color), var(--success-color), var(--primary-color));
    background-size: 400% 400%;
    animation: border-rotate 2s linear infinite;
    z-index: 1;
}

.all-hologram-border-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 18px;
    position: relative;
}

.all-hologram-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    gap: 4px;
}

.all-hologram-icon {
    font-size: 3rem;
    color: var(--primary-color);
    animation: icon-float 2s ease-in-out infinite;
}

@keyframes icon-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.all-hologram-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.all-hologram-desc {
    color: #ccc;
    font-size: 0.9rem;
}

.all-hologram-action {
    margin-top: auto;
}

.all-guide-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6600, #ff8c00);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.guide-all-hologram:hover .all-guide-btn {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

/* No Guides Message */
.no-guides-message {
    text-align: center;
    padding: 3rem;
    background: rgba(15, 15, 15, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(255, 102, 0, 0.2);
    backdrop-filter: blur(10px);
}

.no-guides-icon {
    font-size: 4rem;
    color: #ff6600;
    animation: icon-float 2s ease-in-out infinite;
}

.no-guides-message h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.no-guides-message p {
    color: #ccc;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .guides-title {
        font-size: 2rem;
    }

    .guides-subtitle {
        font-size: 1rem;
    }

    .guide-hologram-card {
        height: 350px;
        margin-bottom: 1rem;
    }

    .guide-mini-hologram {
        height: 160px;
        margin-bottom: 1rem;
    }

    .guide-all-hologram {
        height: 180px;
    }

    .right-cards {
        margin-top: 1rem;
    }
}

/* Hover Effects */
.guide-hologram-link:hover {
    text-decoration: none;
}

.guide-hologram-link:hover .guide-hologram-card {
    transform: translateY(-10px) scale(1.02);
}

/* Animation Delays */
.guide-hologram-card:nth-child(1) {
    animation-delay: 0s;
}

.guide-hologram-card:nth-child(2) {
    animation-delay: 0.1s;
}

.guide-hologram-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* ==========================================
   GUIDES CARDS STYLES (1-2-3-2-1 PATTERN)
   ========================================== */

/* Guides Container */
.guides-container {
    position: relative;
    margin: 2rem auto;
    padding: 0 1rem;
    max-width: 1600px;
    display: flex;
    justify-content: center;
}

.guides-wrapper {
    display: flex;
    gap: 1.4rem;
    padding: 2rem 0;
    scroll-behavior: smooth;
    min-height: 390px;
    justify-content: flex-start;
    flex: 1;
    align-items: flex-start;
}

.guides-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Guide Card Groups */
.guide-card-group {
    gap: 1rem;
}

/* Tüm Rehberleri Keşfet kartı için özel stil */
.guide-all-group {
    align-self: flex-start !important;
    flex-shrink: 0 !important;
    margin-bottom: 10px;
}

.guide-all-group a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
}

.guide-all-group a:hover {
    text-decoration: none;
    color: inherit;
}

.guide-all-group a:focus {
    outline: none;
    text-decoration: none;
    color: inherit;
}

.guide-all-group .guide-card-new {
    width: 300px !important;
    height: 390px !important;
}

.guide-card-group-2 {
    display: flex !important;
    flex-direction: column !important;
    flex-flow: column nowrap !important;
    justify-content: space-between;
    align-items: center;
    height: 390px !important;
}

.guide-card-group-3 {
    display: flex !important;
    flex-direction: column !important;
    flex-flow: column nowrap !important;
    justify-content: space-between;
    align-items: center;
    height: 390px !important;
}

/* 2'li grup için yeni stil */
.guide-card-group-2 {
    display: flex !important;
    flex-direction: column !important;
    flex-flow: column nowrap !important;
    justify-content: space-between;
    align-items: center;
    max-height: 390px !important;
}

/* Guide Card Link Styles */
.guide-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.guide-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.guide-card-link:focus {
    outline: none;
    text-decoration: none;
    color: inherit;
}

/* Guide Card Styles */
.guide-card-new {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Card sizes based on group */
.guide-card-group-1 .guide-card-new {
    width: 300px;
    height: 390px;
}

.guide-card-group-2 .guide-card-new {
    width: 300px;
    height: 185px;
    /* (300px - 10px gap) / 2 */
}

.guide-card-group-3 .guide-card-new {
    width: 300px;
    height: 120px;
    /* (300px - 20px gap) / 3 */
}

.guide-card-new:hover,
.guide-card-link:hover .guide-card-new,
.guide-all-group a:hover .guide-card-new {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.guide-card-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.guide-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transition: transform 1s ease; */
}

/* .guide-card-new:hover .guide-card-image img,
.guide-card-link:hover .guide-card-new .guide-card-image img,
.guide-all-group a:hover .guide-card-new .guide-card-image img {
    transform: scale(1.1);
} */

.guide-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.guide-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.guide-card-content {
    text-align: center;
    color: white;
    width: 100%;
}

.guide-date {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 0.3rem;
    font-weight: 400;
}

.guide-title {
    margin-bottom: 0.5rem;
}

.guide-title a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.guide-title a:hover {
    color: var(--primary-color);
}

.guide-description {
    font-size: 0.75rem;
    line-height: 1.3;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

/* Tüm Rehberleri Keşfet Kartı Stilleri */
.guide-all-card {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.guide-all-card:hover {
    border-color: rgba(255, 102, 0, 0.8) !important;
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.3) !important;
}

.guide-all-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* Placeholder'ı tamamen gizle - sadece resim görünsün */
.guide-all-placeholder {
    display: none !important;
}

.guide-all-icon {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
    animation: rocket-float 2s ease-in-out infinite;
}

@keyframes rocket-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.guide-all-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .guides-container {
        padding: 0 0.5rem;
    }

    .guides-wrapper {
        gap: 1.5rem;
        padding: 1.5rem 0;
        min-height: 240px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .guide-card-group-2,
    .guide-card-group-3 {
        height: 280px;
    }

    .guide-all-group {
        margin-left: 1rem !important;
        align-self: flex-start !important;
        flex-shrink: 0 !important;
    }

    .guide-all-group .guide-card-new {
        width: 160px !important;
        height: 240px !important;
    }

    .guide-card-group-1 .guide-card-new {
        width: 160px;
        height: 240px;
    }

    .guide-card-group-2 .guide-card-new {
        width: 160px;
        height: 115px;
    }

    .guide-card-group-3 .guide-card-new {
        width: 160px;
        height: 77px;
    }

    .guide-title a {
        font-size: 0.8rem;
    }

    .guide-description {
        font-size: 0.7rem;
    }

    .guide-card-overlay {
        padding: 0.8rem;
    }

    /* Mobile Link Styles */
    .guide-card-link {
        width: 100%;
        height: 100%;
    }

    /* Mobile All Guides Link Styles */
    .guide-all-group a {
        width: 100%;
        height: 100%;
    }

    /* Mobile arka plan resmi varsa placeholder'ı gizle */
    .guide-all-card[style*="background-image"] .guide-all-placeholder {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .guides-wrapper {
        gap: 1rem;
        padding: 1rem 0;
        min-height: 260px;
        justify-content: flex-start;
    }

    .guide-all-group {
        margin-left: auto !important;
        align-self: flex-end !important;
        flex-shrink: 0 !important;
    }

    .guide-card-group-2,
    .guide-card-group-3 {
        height: 260px;
    }

    .guide-card-group-1 .guide-card-new {
        width: 140px;
        height: 200px;
    }

    .guide-card-group-2 .guide-card-new {
        width: 140px;
        height: 95px;
    }

    .guide-card-group-3 .guide-card-new {
        width: 140px;
        height: 62px;
    }

    .guide-title a {
        font-size: 0.75rem;
    }

    .guide-description {
        font-size: 0.65rem;
    }

    .guide-card-overlay {
        padding: 0.6rem;
    }

    /* Mobile Link Styles */
    .guide-card-link {
        width: 100%;
        height: 100%;
    }

    /* Mobile All Guides Link Styles */
    .guide-all-group a {
        width: 100%;
        height: 100%;
    }

    /* Mobile placeholder'ı gizle */
    .guide-all-placeholder {
        display: none !important;
    }
}

/* Main Grid Section */
.main-grid-section {
    background: var(--bg-primary);
    min-height: 100vh;
    padding: 32px 0px 0px 0px !important;
    position: relative;
    overflow: hidden;
    max-width: 1600px;
}

.main-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.main-grid-section .container {
    max-width: 1600px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.main-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
    box-sizing: border-box !important;
    width: 100% !important;
}

.grid-item {
    background: var(--bg-secondary) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    flex: none !important;
}

.grid-item:not(.slider-item) {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 56.25% !important;
    /* FORCE 16:9 = 56.25% */
    aspect-ratio: 16/9 !important;
    /* Modern browsers backup */
    position: relative !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    contain: layout style !important;
    min-height: 0 !important;
    max-height: none !important;
}

/* Slider Item */
.slider-item {
    grid-column: span 5;
    position: relative;
    height: 400px;
    /* Fixed height for slider */
}

/* Mission Stats Slider */
.mission-stats-slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: 2px solid #ff6600;
    overflow: hidden;
}

.stats-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-slide.active {
    opacity: 1;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.stats-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.stats-content h1 {
    font-size: 3.5rem;
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.stats-content .lead {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Stats Slider Navigation */
.stats-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 3;
    pointer-events: none;
}

.stats-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.stats-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.stats-nav-btn.prev {
    left: 15px;
}

.stats-nav-btn.next {
    right: 15px;
}

/* Stats Slider Indicators */
.stats-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.stats-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.stats-indicator.active,
.stats-indicator:hover {
    background: white;
    transform: scale(1.2);
}

.stats-content h1 {
    font-size: 4rem;
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

.stats-content .lead {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

.mission-text {
    margin-top: 20px;
}

.mission-text h3 {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mission-text p {
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.9;
}

/* Game Items */
.game-item {
    cursor: pointer;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.game-card {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
}

.game-image {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background-color: #1a1a1a !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
}

/* Game background - stays fixed */
.game-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
}

/* Game character - scales on hover */
.game-character {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    z-index: 2 !important;
    transition: transform 0.3s ease !important;
    opacity: 0.9 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
}

/* Hover effect - only character scales */
.game-card:hover .game-character {
    transform: scale(1.05) !important;
    opacity: 1 !important;
}

/* Game image container - no hover effects */

/* Force consistent background styling for all background and character images */
.game-background[style*="background-image"],
.game-character[style*="background-image"],
.grid-item .game-background[style*="background-image"],
.grid-item .game-character[style*="background-image"] {
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.game-name-on-image {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 1rem;
    /* Reduced font size */
    font-weight: 700;
    z-index: 5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease;
}

.game-overlay {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* display: flex;
    align-items: center;
    justify-content: center; */
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
    z-index: 10;
}

.all-game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.54);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
    z-index: 10;
}

.game-item:hover .game-overlay {
    opacity: 1;
}

.game-item:hover .all-game-overlay {
    opacity: 1;
}

.game-info {
    text-align: center;
    color: white;
    padding: 10px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.game-titles-container {
    max-height: 25%;
    overflow-y: auto;
    padding: 0 5px;
}

.game-titles-container::-webkit-scrollbar {
    width: 2px;
}

.game-titles-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.game-titles-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.game-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-title:not(:empty) {
    display: block;
}

.game-title:empty {
    display: none;
}

.game-offers {
    font-size: 0.6rem;
    opacity: 0.8;
    margin: 0;
}

.game-categories-grid {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
    padding-top: 25px;
}

.game-item:hover .game-categories-grid {
    display: flex;
}

.categories-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 6px;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* Center the last item only when it's the only item */
.categories-container .category-btn:only-child {
    grid-column: 1 / 3;
    justify-self: center;
    width: 50%;
}

/* Center the last item when there are 3 or more items */
.categories-container .category-btn:nth-last-child(1):nth-child(3),
.categories-container .category-btn:nth-last-child(1):nth-child(4),
.categories-container .category-btn:nth-last-child(1):nth-child(5),
.categories-container .category-btn:nth-last-child(1):nth-child(6) {
    grid-column: 1 / 3;
    justify-self: center;
    width: 50%;
}

.category-btn {
    background-color: gray;
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
}

.category-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    filter: grayscale(0%);
    background-color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .categories-container {
        max-width: 180px;
        gap: 5px;
    }

    .category-btn {
        font-size: 0.65rem;
        padding: 5px 7px;
        min-height: 26px;
    }

    .offers-grid-item {
        font-size: 0.65rem;
        padding: 5px 7px;
        min-height: 26px;
    }
}

@media (max-width: 768px) {
    .categories-container {
        max-width: 160px;
        gap: 4px;
    }

    .category-btn {
        font-size: 0.6rem;
        padding: 4px 6px;
        min-height: 24px;
    }

    .offers-grid-item {
        font-size: 0.6rem;
        padding: 4px 6px;
        min-height: 24px;
    }

}

@media (max-width: 576px) {
    .categories-container {
        max-width: 140px;
        gap: 3px;
    }

    .category-btn {
        font-size: 0.55rem;
        padding: 3px 5px;
        min-height: 22px;
    }

    .offers-grid-item {
        font-size: 0.55rem;
        padding: 3px 5px;
        min-height: 22px;
    }

}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-content h1 {
        font-size: 3rem;
    }

    .main-grid {
        gap: 15px;
    }

    .game-titles-container {
        max-height: 20%;
    }

    .game-title {
        font-size: 0.65rem;
        margin-bottom: 1px;
    }
}

@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .slider-item {
        grid-column: span 4;
        height: 300px;
    }

    .grid-item:not(.slider-item) {
        padding-bottom: 56.25% !important;
        height: 0 !important;
    }

    .stats-content h1 {
        font-size: 2.5rem;
    }

    .stats-content {
        padding: 20px;
    }

    .game-titles-container {
        max-height: 18%;
    }

    .game-title {
        font-size: 0.6rem;
        margin-bottom: 1px;
    }

    .game-info {
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .slider-item {
        grid-column: span 3;
        height: 250px;
    }

    .grid-item:not(.slider-item) {
        padding-bottom: 56.25% !important;
        height: 0 !important;
    }

    .stats-content h1 {
        font-size: 2rem;
    }

    .mission-text p {
        font-size: 0.9rem;
    }

    .game-titles-container {
        max-height: 15%;
    }

    .game-title {
        font-size: 0.55rem;
        margin-bottom: 1px;
    }

    .game-info {
        padding: 6px;
    }

    .game-offers {
        font-size: 0.55rem;
    }
}

@media (max-width: 576px) {
    .main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .slider-item {
        grid-column: span 2;
        height: 200px;
    }

    .grid-item:not(.slider-item) {
        padding-bottom: 56.25% !important;
        height: 0 !important;
    }

    .stats-content h1 {
        font-size: 1.8rem;
    }

    .stats-content {
        padding: 15px;
    }

    .mission-text {
        margin-top: 10px;
    }

    .game-titles-container {
        max-height: 12%;
    }

    .game-title {
        font-size: 0.5rem;
        margin-bottom: 1px;
    }

    .game-info {
        padding: 4px;
    }

    .game-offers {
        font-size: 0.5rem;
    }
}

/* Animation for grid items */
.grid-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.grid-item:nth-child(1) {
    animation-delay: 0.1s;
}

.grid-item:nth-child(2) {
    animation-delay: 0.15s;
}

.grid-item:nth-child(3) {
    animation-delay: 0.2s;
}

.grid-item:nth-child(4) {
    animation-delay: 0.25s;
}

.grid-item:nth-child(5) {
    animation-delay: 0.3s;
}

.grid-item:nth-child(6) {
    animation-delay: 0.35s;
}

.grid-item:nth-child(7) {
    animation-delay: 0.4s;
}

.grid-item:nth-child(8) {
    animation-delay: 0.45s;
}

.grid-item:nth-child(9) {
    animation-delay: 0.5s;
}

.grid-item:nth-child(10) {
    animation-delay: 0.55s;
}

.grid-item:nth-child(11) {
    animation-delay: 0.6s;
}

.grid-item:nth-child(12) {
    animation-delay: 0.65s;
}

.grid-item:nth-child(13) {
    animation-delay: 0.7s;
}

.grid-item:nth-child(14) {
    animation-delay: 0.75s;
}

.grid-item:nth-child(15) {
    animation-delay: 0.8s;
}

.grid-item:nth-child(16) {
    animation-delay: 0.85s;
}

.grid-item:nth-child(17) {
    animation-delay: 0.9s;
}

.grid-item:nth-child(18) {
    animation-delay: 0.95s;
}

.grid-item:nth-child(19) {
    animation-delay: 1s;
}

.grid-item:nth-child(20) {
    animation-delay: 1.05s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark theme specific adjustments */
/* Background color for main-grid-section is now controlled via admin panel theme settings */
/*
[data-theme="dark"] .main-grid-section {
    background: #0f0f0f;
}
*/

[data-theme="dark"] .grid-item {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .game-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}

/* Add background shadow/gradient to banner area */
.page-with-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    /* Adjust size as needed */
    height: 50%;
    /* Adjust size as needed */
    /* background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.15) 0%, transparent 50%); */
    pointer-events: none;
    z-index: 0;
    /* Ensure it's behind content but above banner background */
}

/* [data-theme="dark"] .page-with-banner::before {
     background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
} */

/* Reduced padding for the main grid container */
.main-grid-section .container-reduced-padding {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* Adjust for different screen sizes */
@media (min-width: 768px) {
    .main-grid-section .container-reduced-padding {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (min-width: 1200px) {
    .main-grid-section .container-reduced-padding {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .main-grid-section {
        min-height: 95vh;
    }
}

/* Hot Games Section */
.hot-games-section {
    padding: 60px 0;
    overflow: hidden;
}

.hot-games-section .container {
    position: relative;
    z-index: 2;
    max-width: 1600px;
}

.hot-games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.hot-games-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hot-games-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.hot-game-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.hot-game-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hot-game-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.hot-game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--hot-card-hover-color);
    border-color: var(--hot-card-hover-color);
}

.hot-game-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.hot-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hot-game-card:hover .hot-game-image img {
    transform: scale(1.05);
}

.game-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.game-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.countdown-timer {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-content {
    display: flex;
    gap: 4px;
    align-items: center;
}

.countdown-gif.timer-icon {
    width: 22px !important;
    height: 22px !important;
    margin-right: 6px;
    border-radius: 50%;
    object-fit: cover;
}

.countdown-time {
    font-weight: 700;
    color: #ff6b35;
    font-size: 11px;
    font-family: 'Courier New', monospace;
}

.hot-game-content {
    padding: 15px;
    color: white;
}

.hot-game-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    color: white;
}

.hot-game-features {
    margin-bottom: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-item i {
    color: #10b981;
    font-size: 0.7rem;
}

.hot-game-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.hot-game-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-amount {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.original-price {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.8);
}

.discounted-price {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.no-content-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.no-content-message p {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.buy-now-btn {
    background: var(--hot-buy-btn-bg);
    color: var(--hot-buy-btn-text);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-now-btn:hover {
    background: var(--hot-buy-btn-hover-bg);
    color: var(--hot-buy-btn-text);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design for Hot Games */
@media (max-width: 1400px) {
    .hot-games-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .hot-games-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .hot-games-title {
        font-size: 2rem;
    }

    .hot-game-image {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .hot-games-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hot-games-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hot-games-title {
        font-size: 1.8rem;
    }

    .hot-game-image {
        height: 90px;
    }

    .hot-game-content {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .hot-games-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hot-games-title {
        font-size: 1.5rem;
    }

    .hot-game-card {
        margin: 0 10px;
    }
}

/* Game Currency Section */
.game-currency-section {
    padding: 10px 0 10px 0px;
    overflow: hidden;
}

.game-currency-section .container {
    position: relative;
    z-index: 2;
    max-width: 1600px;
}

.currency-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.currency-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.currency-tabs {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 5px;
    backdrop-filter: blur(10px);
}

.currency-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.currency-tab.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.currency-tab:hover {
    color: white;
    transform: translateY(-1px);
}

.currency-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin: 0 auto;
    transition: all 0.3s ease;
    padding: 0 10px;
}

.currency-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.currency-card-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.currency-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.currency-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--currency-card-hover-color);
    border-color: var(--currency-card-hover-color);
}

.currency-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.currency-card:hover .currency-image img {
    transform: scale(1.05);
}

.game-name-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.currency-content {
    padding: 20px;
    color: white;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.currency-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    color: white;
}

.currency-features {
    margin-bottom: 15px;
}

.currency-features .feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.currency-features .feature-item i {
    color: #22c55e;
    font-size: 0.7rem;
}

.currency-prices {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.price-row:last-child {
    margin-bottom: 0;
}

.price-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.price-amount {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.currency-actions {
    display: flex;
    gap: 8px;
}

.buy-currency-btn,
.sell-currency-btn {
    flex: 1;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.buy-currency-btn {
    background: var(--currency-buy-btn-bg);
    color: var(--currency-buy-btn-text);
}

.buy-currency-btn:hover {
    background: var(--currency-buy-btn-bg);
    color: var(--currency-buy-btn-text);
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
}

.sell-currency-btn {
    background: var(--currency-sell-btn-bg);
    color: var(--currency-sell-btn-text);
}

.sell-currency-btn:hover {
    background: var(--currency-sell-btn-bg);
    color: var(--currency-sell-btn-text);
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

/* Responsive Design for Game Currency */
@media (max-width: 1400px) {
    .currency-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .currency-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .currency-title {
        font-size: 2rem;
    }

    .currency-image {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .currency-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .currency-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .currency-title {
        font-size: 1.8rem;
    }

    .currency-image {
        height: 120px;
    }

    .currency-content {
        padding: 12px;
    }

    .currency-actions {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .currency-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .currency-title {
        font-size: 1.5rem;
    }

    .currency-card {
        margin: 0 10px;
    }
}

.feature-cards-section .container {
    max-width: 1600px !important;
}

.feature-cards-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.feature-cards-title {
    font-size: 2.5rem;
}

.tilt-card {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 350px;
    perspective: 1000px;
    cursor: pointer;
    border-radius: 20px !important;
}

.tilt-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--feature-card-bg-gradient);
    border-radius: 20px;
    /* padding: 30px 25px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.1s ease-out;
    transform-style: preserve-3d;
    overflow: hidden;
}

.tilt-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.1) 100%);
    border-radius: inherit;
    z-index: 1;
}

.feature-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    transition: transform 0.1s ease-out;
    max-height: 180px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    transition: all 0.1s ease-out;
    object-fit: cover;
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    transition: all 0.1s ease-out;
}

.feature-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin: 0;
    transition: all 0.1s ease-out;
}

.tilt-glare {
    display: none;
}

/* Hover Efektleri */
.tilt-card:hover .tilt-card-inner {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.tilt-card:hover .feature-icon {
    transform: translateZ(20px);
}

.tilt-card:hover .feature-title {
    transform: translateZ(10px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.tilt-card:hover .feature-description {
    transform: translateZ(5px);
}

/* Feature Cards Responsive Design */
@media (max-width: 1200px) {
    .feature-cards-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .feature-cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .feature-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tilt-card {
        min-height: 250px;
    }

    .tilt-card-inner {
        padding: 20px;
    }

    .feature-icon img {
        width: 50px;
        height: 50px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-description {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .feature-cards-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tilt-card {
        min-height: 220px;
    }
}

.no-content-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

/* All Games Card Styling */
.all-games-card {
    cursor: pointer;
    position: relative;
}

.all-games-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.all-games-icon {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8) !important;
    z-index: 3;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.game-name-on-imag {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    left: 50% !important;
    top: 15px !important;
    transform: translateX(-50%) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    text-align: center !important;
    position: absolute !important;
    white-space: nowrap;
    z-index: 10;
}

.all-games-card:hover .all-games-icon {
    color: var(--primary-color) !important;
    z-index: 11;
}

.all-games-card:hover .game-name-on-imag {
    z-index: 11;
}

.game-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Responsive adjustments for All Games card */
@media (max-width: 1200px) {
    .all-games-icon {
        font-size: 2.5rem;
        gap: 6px;
    }

    .game-count {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .all-games-icon {
        font-size: 2.2rem;
        gap: 5px;
    }

    .game-count {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .all-games-icon {
        font-size: 2rem;
        gap: 4px;
    }

    .game-count {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .all-games-icon {
        font-size: 1.8rem;
        gap: 3px;
    }

    .game-count {
        font-size: 0.65rem;
    }
}

.all-games-card:hover .game-count {
    color: white;
}

.all-games-card .game-image .game-name-on-image {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: white !important;
    left: 50% !important;
    top: 15px !important;
    transform: translateX(-50%) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    text-align: center !important;
    position: absolute !important;
    white-space: nowrap;
}

/* Responsive adjustments for All Games title */
@media (max-width: 1200px) {
    .all-games-card .game-image .game-name-on-image {
        font-size: 1.3rem !important;
        top: 12px !important;
    }
}

@media (max-width: 992px) {
    .all-games-card .game-image .game-name-on-image {
        font-size: 1.2rem !important;
        top: 10px !important;
    }
}

@media (max-width: 768px) {
    .all-games-card .game-image .game-name-on-image {
        font-size: 1.1rem !important;
        top: 8px !important;
    }
}

@media (max-width: 576px) {
    .all-games-card .game-image .game-name-on-image {
        font-size: 1rem !important;
        top: 6px !important;
    }
}

/* UNIVERSAL 16:9 ENFORCEMENT - HIGHEST PRIORITY */
.main-grid .grid-item:not(.slider-item),
.popular-games-section .grid-item,
.games-grid .grid-item {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 56.25% !important;
    aspect-ratio: 16/9 !important;
    position: relative !important;
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* PREVENT BACKGROUND/CHARACTER FROM AFFECTING GRID ITEM SIZE */
html body .main-grid .grid-item:not(.slider-item),
html body .popular-games-section .grid-item,
html body .games-grid .grid-item {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 56.25% !important;
}

/* FORCE GAME CARD AND IMAGE TO FILL PARENT COMPLETELY */
.grid-item .game-card,
.grid-item .game-image,
.grid-item .game-background,
.grid-item .game-character {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* DIAGNOSTIC: FORCE GRID ITEM DIMENSIONS WITH MAXIMUM SPECIFICITY */
html body div.main-grid div.grid-item:not(.slider-item),
html body section.popular-games-section div.grid-item,
html body div.games-grid div.grid-item {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 56.25% !important;
    aspect-ratio: 16/9 !important;
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    min-height: 0 !important;
    max-height: none !important;
    min-width: 0 !important;
    max-width: none !important;
}

/* OVERRIDE ANY EXISTING GAME-IMAGE HEIGHT */
.grid-item .game-card .game-image,
.game-item .game-card .game-image,
html body .grid-item .game-card .game-image,
html body .game-item .game-card .game-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 15px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}