/* Game Page Specific Styles */
@font-face {
    font-family: 'Alagard';
    src: url(src/Fonts/alagard.ttf);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'V';
    src: url(src/Fonts/VAGROUNDEDSTD_BOLD.OTF);
    font-weight: normal;
    font-style: normal;
}
/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000;
    font-family: Arial, sans-serif;
}
.tovhead2{
    font-family: 'Alagard', Arial, Helvetica, sans-serif;
}
.froghead2{
    font-family: 'V', Arial, Helvetica, sans-serif;
}

/* Container */
.media-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

.media-item:hover img {
    transform: scale(1.1);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-item:hover .media-overlay {
    opacity: 1;
}

.media-overlay i {
    color: white;
    font-size: 24px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.media-item:hover .media-overlay i {
    transform: scale(1);
}

.media-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 10px;
    }
    
    .media-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .media-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .media-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .media-item.large,
    .media-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Modal Styles - Completely override everything */
#imageModal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    z-index: 9999 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

#imageModal.active {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#imageModal .modal-content {
    position: relative !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
}

#modalImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.modal-close:hover {
    color: #e50914;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(229, 9, 20, 0.8);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 2001;
}

.modal-nav:hover {
    background-color: rgba(246, 18, 29, 1);
}

.modal-prev {
    left: -70px;
}

.modal-next {
    right: -70px;
}

.modal-info {
    margin-top: 20px;
    color: white;
}

.modal-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #e50914;
}

.modal-info p {
    font-size: 16px;
    color: #ccc;
}

/* Mobile Modal Adjustments */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .modal-close {
        top: -40px;
        font-size: 30px;
    }
    
    .modal-nav {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .modal-prev {
        left: -60px;
    }
    
    .modal-next {
        right: -60px;
    }
    
    #modalImage {
        max-height: 70vh;
    }
    
    .modal-info h3 {
        font-size: 20px;
    }
    
    .modal-info p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal-nav {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .modal-prev {
        left: 10px;
        top: 10px;
        transform: none;
    }
    
    .modal-next {
        right: 10px;
        top: 10px;
        transform: none;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
    }
}

/* Game CTA Section */
.game-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    text-align: center;
}

.game-cta h2 {
    font-size: clamp(28px, 5vw, 48px);
    color: white;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

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

.footer__links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 10px;
}

.footer__links li {
    margin: 5px 15px;
}

.footer__links a {
    color: white;
    text-decoration: none;
}

.footer__links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar__links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(51, 51, 51, 0.9);
    color: white;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

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

.navbar.scrolled {
    background-color: rgba(51, 51, 51, 1);
    padding: 10px 20px;
}

.navbar__logo img {
    height: 50px;
    transition: height 0.3s ease;
}

.navbar.scrolled .navbar__logo img {
    height: 40px;
}

.navbar__links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar__links li {
    position: relative;
}

.navbar__links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.navbar__links a:hover {
    color: #e50914;
}

.navbar__links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #e50914;
    transition: width 0.3s ease;
}

.navbar__links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger i {
    color: white;
    font-size: 24px;
}

.navbar__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(51, 51, 51, 0.9);
    width: 100%;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.navbar__links.active li {
    margin-bottom: 10px;
}

.navbar__links.active a {
    font-size: 24px;
}

/* Game Hero Section */
.game-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.game-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
}

.game-hero__content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 20px;
    max-width: 800px;
    position: relative;
}

.game-hero__content h1 {
    font-size: clamp(32px, 8vw, 64px);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.game-hero__tagline {
    font-size: clamp(16px, 3vw, 24px);
    margin-bottom: 40px;
    opacity: 0.9;
}

.game-hero__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero button styles for main pages */
.hero__btn {
    padding: 10px 20px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hero__btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Button Styles for game pages */
.btn {
    background-color: #e50914;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    background-color: #f6121d;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(229, 9, 20, 0.3);
}

.btn--primary {
    background-color: #e50914;
    font-weight: bold;
}

.btn--primary:hover {
    background-color: #f6121d;
}

.btn i {
    margin-right: 8px;
}

/* Video Play Button */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(229, 9, 20, 0.9);
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.video-play-button:hover {
    background-color: rgba(246, 18, 29, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button i {
    margin-left: 5px;
}

/* Game Overview Section */
.game-overview {
    padding: 60px 20px;
    background-color: #1a1a1a;
    text-align: center;
}

.game-overview h2 {
    font-size: clamp(28px, 5vw, 48px);
    color: white;
    margin-bottom: 30px;
}

.game-overview__description {
    font-size: clamp(18px, 2.5vw, 22px);
    color: #ccc;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Game Features Section */
.game-features {
    padding: 60px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('src/game-pages/tov-bg.png') center/cover;
    position: relative;
}
.game-features1 {
    padding: 60px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('src/game-pages/hnb-bg.png') center/cover;
    position: relative;
}
.game-features2 {
    padding: 60px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('src/game-pages/froggy.gif') center/cover;
    position: relative;
}
.game-features h2 {
    font-size: clamp(28px, 5vw, 48px);
    color: white;
    text-align: center;
    margin-bottom: 50px;
}
.game-features1 h2 {
    font-size: clamp(28px, 5vw, 48px);
    color: white;
    text-align: center;
    margin-bottom: 50px;
}
.game-features2 h2 {
    font-size: clamp(28px, 5vw, 48px);
    color: white;
    text-align: center;
    margin-bottom: 50px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: rgba(51, 51, 51, 0.7);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

@media (min-width: 769px) {
    .feature-card:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 15px 40px rgba(229, 9, 20, 0.4);
        padding: 35px 25px;
        background-color: rgba(51, 51, 51, 0.9);
    }
}

@media (max-width: 768px) {
    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
    }
}

.feature-card i {
    font-size: clamp(36px, 4vw, 48px);
    color: #e50914;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: clamp(20px, 2.5vw, 24px);
    color: white;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: clamp(14px, 1.8vw, 16px);
    color: #ccc;
    line-height: 1.6;
}

/* Game About Section */
.game-about {
    padding: 60px 20px;
    background-color: #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: clamp(28px, 5vw, 48px);
    color: white;
    margin-bottom: 30px;
}

.about-text p {
    font-size: clamp(16px, 2vw, 18px);
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Game Story Section */
.game-story {
    padding: 60px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('src/images/game-background.jpg') center/cover;
    position: relative;
}

.game-story h2 {
    font-size: clamp(28px, 5vw, 48px);
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content p {
    font-size: clamp(16px, 2.2vw, 20px);
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

/* Game Details Section */
.game-details {
    padding: 60px 20px;
    background-color: #1a1a1a;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-card {
    background-color: rgba(51, 51, 51, 0.5);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #e50914;
}

.detail-card h3 {
    font-size: clamp(22px, 3vw, 28px);
    color: white;
    margin-bottom: 20px;
}

.detail-card p {
    font-size: clamp(15px, 2vw, 18px);
    color: #ccc;
    line-height: 1.6;
}

/* Game Media Section */
.game-media {
    padding: 60px 20px;
    background-color: #222;
    text-align: center;
}

.game-media h2 {
    font-size: clamp(28px, 5vw, 48px);
    color: white;
    margin-bottom: 40px;
}

/* Instagram-like Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.media-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.3);
}

.media-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.media-item.tall {
    grid-row: span 2;
}

