/* Solo Games Detail Page - Using index.php theme */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

body {
    font-family: 'Bebas Neue', cursive;
    background-color: white;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.main-content {
    padding: 0;
}

/* Game Trailer Section */
.game-trailer {
    padding: 2rem 2rem;
    background: 
        linear-gradient(135deg, #121212 0%, #1e1e1e 25%, #161616 75%, #0f0f0f 100%),
        radial-gradient(circle at 70% 30%, rgba(40, 40, 40, 0.3) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.game-trailer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.01) 35px,
            rgba(255, 255, 255, 0.01) 36px
        ),
        linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.8) 100%);
    z-index: 1;
}

.trailer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.trailer-container h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: #f0f0f0;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 50.25%; /* 16:9 aspect ratio */
    height: 0;
    background: linear-gradient(145deg, rgba(35, 35, 35, 0.8), rgba(22, 22, 22, 0.9));
    border: 2px solid rgba(80, 80, 80, 0.6);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
}

/* Game Hero Section */
.game-hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('../images/ds3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 3rem;
    max-width: 800px;
}

.game-status-badge {
    font-size: 1rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.9));
    color: white;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    display: inline-block;
    margin-bottom: 2rem;
    animation: slideInFromBottom 1s ease-out;
}

.hero-content h1 {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    animation: slideInFromBottom 1s ease-out 0.2s both;
}

.hero-content .game-genre {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    animation: slideInFromBottom 1s ease-out 0.4s both;
}

.hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: slideInFromBottom 1s ease-out 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInFromBottom 1s ease-out 0.8s both;
}

.hero-btn {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: 1.25px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.4s ease;
    z-index: -1;
}

.hero-btn:hover {
    color: #333;
    border-color: white;
}

.hero-btn:hover::before {
    left: 0;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Game Details Section */
.game-details {
    padding: 2rem 2rem;
    background: 
        linear-gradient(135deg, #121212 0%, #1e1e1e 25%, #161616 75%, #0f0f0f 100%),
        radial-gradient(circle at 70% 30%, rgba(40, 40, 40, 0.3) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.game-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.01) 35px,
            rgba(255, 255, 255, 0.01) 36px
        ),
        linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.8) 100%);
    z-index: 1;
}

.details-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.details-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.details-content-centered h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: #f0f0f0;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    text-align: center;
}


.details-content-centered p {
    font-size: 1.6rem;
    color: #c5c5c5;
    letter-spacing: 0.8px;
    line-height: 2;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 100%;
}

/* Game Specifications Section */
.game-specifications {
    padding: 2rem 2rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.specs-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.game-specs {
    background: linear-gradient(145deg, rgba(35, 35, 35, 0.8), rgba(22, 22, 22, 0.9));
    border: 2px solid rgba(80, 80, 80, 0.6);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    width: 100%;
}

.game-specs h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: #f0f0f0;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    text-align: center;
}

/* Game Specifications */
.game-specifications {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

.specs-container h2 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.specs-wrapper {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.spec-row {
    display: flex;
    border-bottom: 1px solid rgba(60, 60, 60, 0.2);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-item {
    flex: 1;
    padding: 1.8rem 2rem;
    border-right: 1px solid rgba(60, 60, 60, 0.2);
    transition: background-color 0.3s ease;
}

.spec-item:last-child {
    border-right: none;
}

.spec-item.single {
    border-right: none;
    text-align: center;
}

.spec-label {
    font-size: 1.15rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    font-weight: normal;
}

.spec-value {
    font-size: 1.25rem;
    color: #fff;
    font-weight: normal;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .spec-row {
        flex-direction: column;
    }
    
    .spec-item {
        border-right: none;
        border-bottom: 1px solid rgba(60, 60, 60, 0.2);
    }
    
    .spec-item:last-child {
        border-bottom: none;
    }
    
    .specs-container h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Features Section */
.game-features {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features-container h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: #f0f0f0;
    letter-spacing: 3px;
    margin-bottom: 4rem;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.8), rgba(18, 18, 18, 0.9));
    border: 2px solid rgba(60, 60, 60, 0.5);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: #34d399;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: #f0f0f0;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.feature-card p {
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Screenshots Section */
.game-screenshots {
    padding: 2rem 2rem;
    background: 
        linear-gradient(135deg, #121212 0%, #1e1e1e 25%, #161616 75%, #0f0f0f 100%),
        radial-gradient(circle at 30% 70%, rgba(40, 40, 40, 0.3) 0%, transparent 60%);
}

.screenshots-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.screenshots-container h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: #f0f0f0;
    letter-spacing: 3px;
    margin-bottom: 4rem;
    text-transform: uppercase;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease;
    cursor: pointer;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: filter 0.4s ease;
}

.screenshot-item:hover img {
    filter: brightness(1) contrast(1.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ccc;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cta-button {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: 1.25px solid #111;
    background-color: transparent;
    color: #111;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #111;
    transition: width 0.4s ease;
    z-index: -1;
}

.slide.active .cta-button {
    opacity: 1;
    transform: translateX(0);
    animation: slideInBtn 0.6s ease 0.8s both;
}

.cta-button:hover {
    color: #fff;
    border-color: #111;
}

.cta-button:hover::before {
    width: 100%;
}

/* System Requirements Section */
.system-requirements {
    padding: 2rem 2rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.requirements-container {
    max-width: 1200px;
    margin: 0 auto;
}

.requirements-container h2 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.requirements-card {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.requirements-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(80, 80, 80, 0.3);
}

.requirement-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(40, 40, 40, 0.5);
}

.requirement-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.req-label {
    font-size: 1.25rem;
    color: #bbb;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 0 0 40%;
}

.req-value {
    font-size: 1.25rem;
    color: #fff;
    font-weight: normal;
    text-align: right;
    flex: 1;
    line-height: 1.3;
}

.action-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 35vh;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

.action-container h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.action-container p {
    font-size: 1.6rem;
    letter-spacing: 0.8px;
    line-height: 2;
    text-align: center;
    max-width: 100%;
}

.action-buttons {
    display: flex;
    gap: 1.5rem; /* Butonlar arası boşluk */
}

/* Responsive Design for System Requirements */
@media (max-width: 768px) {
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .requirements-card {
        padding: 2rem 1.5rem;
    }
    
    .requirements-container h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .requirement-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .req-label {
        flex: none;
    }
    
    .req-value {
        text-align: left;
        flex: none;
    }
}

@media (max-width: 480px) {
    .system-requirements {
        padding: 4rem 1rem;
    }
    
    .requirements-card {
        padding: 1.5rem;
    }
    
    .requirements-card h3 {
        font-size: 1.5rem;
    }
    
    .req-label {
        font-size: 0.9rem;
    }
    
    .req-value {
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .details-container {
        max-width: 900px;
    }
    
    .specs-container {
        max-width: 700px;
    }
    
    .trailer-container h1 {
        font-size: 3.5rem;
    }
    
    .hero-content h1 {
        font-size: 4.5rem;
        letter-spacing: 6px;
    }
    
    .details-content-centered h2 {
        font-size: 3.5rem;
    }
    
    .details-content-centered p {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .game-trailer {
        padding: 4rem 1rem;
    }
    
    .trailer-container h1 {
        font-size: 3rem;
    }
    
    .video-wrapper {
        max-width: 100%;
        padding-bottom: 56.25%; /* 16:9 aspect ratio for mobile */
    }
    
    .game-hero {
        height: 80vh;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
        letter-spacing: 4px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .details-container {
        padding: 0 1rem;
        min-height: 60vh;
    }
    
    .details-content-centered h2 {
        font-size: 3rem;
    }
    
    .details-content-centered p {
        font-size: 1.4rem;
    }
    
    .specs-container,
    .screenshots-container {
        padding: 0 1rem;
    }

.action-container {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
    
    .game-specs {
        padding: 2rem;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .screenshot-item img {
        height: 150px;
    }
    

  .action-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: auto;
  }
    
    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .game-trailer {
        padding: 3rem 1rem;
    }
    
    .trailer-container h1 {
        font-size: 2.5rem;
    }
    
    .video-wrapper {
        border-radius: 15px;
    }
    
    .video-wrapper iframe {
        border-radius: 13px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-content .game-genre {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-btn,
    .action-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .details-content-centered h2 {
        font-size: 2.5rem;
    }
    
    .details-content-centered p {
        font-size: 1.2rem;
    }
    
    .screenshots-container h2,
    .action-container h2 {
        font-size: 2.5rem;
    }
    
    .details-container {
        min-height: 50vh;
    }
    
    .details-content-centered {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .screenshot-item img {
        height: 180px;
    }
    
    .modal-content {
        width: 95%;
        top: 50%;
    }
    
    .close {
        top: 5px;
        right: 15px;
        font-size: 25px;
    }
}

/* Smooth animations for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.screenshot-item {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.screenshot-item:nth-child(1) { animation-delay: 0.1s; }
.screenshot-item:nth-child(2) { animation-delay: 0.2s; }
.screenshot-item:nth-child(3) { animation-delay: 0.3s; }
.screenshot-item:nth-child(4) { animation-delay: 0.4s; }
