/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    color: #fff;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 15px;
    gap: 8px;
    min-height: calc(100vh - 80px);
}

.title-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 5px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(45deg, #0080ff, #0ff, #0080ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
    margin: 0;
    text-shadow: 0 0 30px rgba(0, 128, 255, 0.5);
}

.icon-image {
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    transition: all 0.3s ease;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(0, 128, 255, 0.3));
}

.icon-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 128, 255, 0.6));
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: #fff;
    margin-bottom: 8px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Play Button */
.play-button {
    background: linear-gradient(45deg, #0080ff, #0af);
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 128, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    margin: 10px 0;
    min-width: 160px;
    white-space: nowrap;
}

.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: left 0.5s;
}

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

.play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 128, 255, 0.5);
    background: linear-gradient(45deg, #0060cc, #08c);
}

/* FULLSCREEN SLIDESHOW STYLES */
.slideshow-section {
    margin: 15px;
    flex: 1;
    display: flex;
    align-items: center;
    width: calc(100vw - 30px);
    height: calc(100vh - 250px);
    min-height: 400px;
    max-height: 65vh;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.8);
    display: block;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 30px 30px;
    color: #fff;
}

.slide-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: #0080ff;
}

.slide-description {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    opacity: 0.9;
    line-height: 1.4;
}

.slideshow-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #0080ff;
    transform: scale(1.2);
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 128, 255, 0.8);
    color: #fff;
    border: none;
    width: clamp(45px, 5vw, 60px);
    height: clamp(45px, 5vw, 60px);
    border-radius: 50%;
    cursor: pointer;
    font-size: clamp(18px, 2vw, 24px);
    transition: all 0.3s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-arrow:hover {
    background: #0080ff;
    transform: translateY(-50%) scale(1.1);
}

.slideshow-arrow.prev {
    left: 20px;
}

.slideshow-arrow.next {
    right: 20px;
}

/* SEO Content Section */
.game-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 40px 20px;
    margin: 20px 0;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.game-info h2 {
    color: #0080ff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 20px;
    text-align: center;
}

.game-info h3 {
    color: #00aaff;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    margin-bottom: 15px;
    margin-top: 25px;
}

.game-info p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.game-info ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.game-info li {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    margin-bottom: 10px;
    padding-left: 10px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 128, 255, 0.2);
    padding: 15px 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.copyright, .feedback {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.feedback-link {
    color: #0af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.feedback-link:hover {
    color: #0080ff;
    text-decoration: underline;
}

/* RESPONSIVE BREAKPOINTS */

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .slideshow-section {
        margin: 20px;
        height: calc(100vh - 220px);
        min-height: 600px;
        max-height: 70vh;
    }
    
    .slide-overlay {
        padding: 60px 50px 50px;
    }
}

/* Standard Desktop (1200px - 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
    .slideshow-section {
        margin: 18px;
        height: calc(100vh - 240px);
        min-height: 500px;
        max-height: 68vh;
    }
}

/* Large Tablet/Small Desktop (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .slideshow-section {
        margin: 15px;
        height: calc(100vh - 260px);
        min-height: 450px;
        max-height: 65vh;
    }
    
    .slideshow-arrow {
        width: 50px;
        height: 50px;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .slideshow-section {
        margin: 15px;
        height: calc(100vh - 280px);
        min-height: 400px;
        max-height: 60vh;
    }
    
    .slide-overlay {
        padding: 30px 20px 20px;
    }
    
    .slideshow-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Mobile Landscape (568px - 767px) */
@media (min-width: 568px) and (max-width: 767px) {
    .slideshow-section {
        margin: 12px;
        height: calc(100vh - 300px);
        min-height: 350px;
        max-height: 55vh;
    }
    
    .slide-overlay {
        padding: 25px 15px 15px;
    }
    
    .slideshow-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slideshow-arrow.prev {
        left: 15px;
    }
    
    .slideshow-arrow.next {
        right: 15px;
    }
    
    .nav-dot {
        width: 12px;
        height: 12px;
    }
}

/* Mobile Portrait (480px - 567px) */
@media (min-width: 480px) and (max-width: 567px) {
    .slideshow-section {
        margin: 10px;
        height: calc(100vh - 320px);
        min-height: 320px;
        max-height: 50vh;
    }
    
    .slide-overlay {
        padding: 20px 12px 12px;
    }
    
    .slideshow-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slideshow-arrow.prev {
        left: 10px;
    }
    
    .slideshow-arrow.next {
        right: 10px;
    }
}

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    .slideshow-section {
        margin: 8px;
        height: calc(100vh - 340px);
        min-height: 280px;
        max-height: 45vh;
    }
    
    .slide-overlay {
        padding: 15px 10px 10px;
    }
    
    .slideshow-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .slideshow-arrow.prev {
        left: 8px;
    }
    
    .slideshow-arrow.next {
        right: 8px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
}

/* Short Screens (Height-based) */
@media (max-height: 600px) {
    .slideshow-section {
        height: calc(100vh - 120px);
        min-height: 300px;
    }
    
    .hero {
        padding: 10px;
        gap: 8px;
    }
    
    .slide-overlay {
        padding: 15px 20px 15px;
    }
}

@media (max-height: 500px) {
    .slideshow-section {
        height: calc(100vh - 100px);
        min-height: 250px;
        margin: 8px;
    }
    
    .slide-overlay {
        padding: 10px 15px 10px;
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    .slideshow-section {
        height: calc(100vh - 100px);
        min-height: 350px;
    }
    
    .hero {
        gap: 10px;
    }
}

/* Ultra-wide screens (21:9) */
@media (min-aspect-ratio: 21/9) {
    .slideshow-section {
        max-width: calc(100vh * 16/9);
        margin: 20px auto;
        height: calc(100vh + 20px);
    }
}

/* 4K and higher resolution adjustments */
@media (min-width: 2560px) {
    .slideshow-section {
        margin: 40px;
        height: calc(100vh + 100px);
        min-height: 1200px;
    }
    
    .slide-overlay {
        padding: 80px 60px 60px;
    }
    
    .slideshow-arrow {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .nav-dot {
        width: 18px;
        height: 18px;
    }
}
