/* Game Page Specific Styles */

/* Games Hero Section */
.games-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: relative;
    margin-bottom: 40px;
}

.hero-title-large {
    font-size: 8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 1;
    margin-bottom: -50px;
    z-index: 1;
    position: relative;
}

.crystal-ball {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 200px;
    height: 200px;
}

.crystal-ball img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.game-thumbnails {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 0 20px;
    z-index: 1;
}

.game-thumb {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.3s ease;
    animation: pulse 2s infinite alternate;
}

.game-thumb:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

.game-thumb:nth-child(1) { justify-self: end; align-self: start; }
.game-thumb:nth-child(2) { justify-self: start; align-self: start; }
.game-thumb:nth-child(3) { justify-self: end; align-self: end; }
.game-thumb:nth-child(4) { justify-self: start; align-self: end; }
.game-thumb:nth-child(5) { justify-self: center; align-self: start; }
.game-thumb:nth-child(6) { justify-self: center; align-self: end; }

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-text {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.95;
}

.jump-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.jump-btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.jump-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Testing Section */
.testing-section {
    padding: 100px 0;
    background: white;
}

.testing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.testing-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testing-item:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.testing-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testing-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 10px;
}

.testing-desc {
    color: #64748b;
    line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background: #f8f9ff;
}

.reviews-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.reviews-text {
    max-width: 600px;
}

.reviews-image {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #2d0c58 0%, #6366f1 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.reviews-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Tip Section */
.tip-section {
    padding: 100px 0;
    background: white;
}

.tip-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: flex-start;
}

.tip-image {
    width: 200px;
    height: 200px;
}

.tip-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tip-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.tip-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
}

.tip-contact {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #6366f1;
}

.tip-contact p {
    color: #64748b;
    margin-bottom: 5px;
}

.tip-contact p:first-child {
    font-weight: 600;
    color: #2563eb;
}

/* Responsive Design for Game Page */
@media (max-width: 1024px) {
    .hero-title-large {
        font-size: 6rem;
    }
    
    .crystal-ball {
        width: 150px;
        height: 150px;
    }
    
    .testing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .reviews-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .reviews-image {
        margin: 0 auto;
    }
    
    .tip-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tip-image {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .games-hero {
        padding: 40px 0;
    }
    
    .hero-title-large {
        font-size: 4rem;
    }
    
    .crystal-ball {
        width: 120px;
        height: 120px;
    }
    
    .game-thumb {
        width: 60px;
        height: 60px;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .jump-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .testing-section,
    .reviews-section,
    .tip-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tip-title {
        font-size: 2rem;
    }
    
    .reviews-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title-large {
        font-size: 3rem;
    }
    
    .crystal-ball {
        width: 100px;
        height: 100px;
    }
    
    .game-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    
    .game-thumb {
        width: 50px;
        height: 50px;
    }
    
    .tip-image {
        width: 150px;
        height: 150px;
    }
    
    .reviews-image {
        width: 200px;
        height: 200px;
    }
}

.game-content {
  margin-top: 80px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.game-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.game-block .col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-block .col:first-child {
  align-items: center;
  text-align: center;
  gap: 45px;
}

.game-info {
  padding-top: 60px;
  padding-bottom: 60px;
}

.game-info .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width:768px){
  .game-block {
    grid-template-columns: 1fr;
  }
}