* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff; 
    color: #111111;
    line-height: 1.6;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 20px 5%; 
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eeeeee;
   
    min-height: 80px; 
}


.logo {
    display: flex;
    align-items: center;
    cursor: pointer;

    margin-right: 0; 
}

.logo-img {
   
    height: 100px; 
    width: auto;
    display: block;
    transform: scale(1.8); 
    
    transform-origin: left center; 
}



.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links a:hover { color: #673ab7; }

.cta-btn {
    background-color: #000;
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn:hover {
    background-color: #673ab7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(103, 58, 183, 0.4);
}


.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 5% 60px 5%;
}

.hero-content h1 {
    font-size: 80px; 
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero-image-container {
    width: 100%;
    max-width: 1300px;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-top: 40px;
}

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


.yayincilik-section {
    padding: 100px 5%;
    background-color: #fafafa;
    text-align: center;
    border-top: 1px solid #eee;
}

.yayincilik-text h2 { font-size: 42px; font-weight: 800; margin-bottom: 20px; }

.yayincilik-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.feature {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: left;
    transition: 0.3s;
}

.feature:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.06); }

.feature-icon { font-size: 40px; margin-bottom: 20px; }

.feature h3 { font-size: 22px; margin-bottom: 10px; font-weight: 700; }


.oyunlar-section { padding: 100px 5%; max-width: 1400px; margin: 0 auto; }
.oyunlar-header h2 { font-size: 42px; font-weight: 800; margin-bottom: 15px; }



.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px;
    margin-bottom: 30px;
}

.team-card {
    text-align: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px); 
}

.team-img {
    height: 350px; 
    background-color: #f0f0f0;
    border-radius: 20px 20px 0 0;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}

.team-info h3 {
    font-size: 22px;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
}

.team-info p {
    font-size: 16px;
    font-weight: 600;
    color: #673ab7; 
}



.uzay-bg { background-image: url('angry.webp'); }
.zombi-bg { background-image: url('wall.webp'); }
.yaris-bg { background-image: url('whell.webp'); }
.orman-bg { background-image: url('dig.webp'); }
.pet-bg { background-image: url('pet.webp'); }
.pack-bg { background-image: url('pack.webp'); }

.oyun-bilgi h3 { font-size: 24px; font-weight: 800; margin-bottom: 5px; }


.store-linkler { display: flex; gap: 10px; margin-top: 15px; }
.store-btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background-color: #000;
    transition: 0.3s;
}
.store-btn:hover { background-color: #673ab7; }


.page { display: none; }
.page.active { display: block; animation: fadeIn 0.4s ease-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
    

}

.oyun-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}

.oyun-kart-yeni {
    background-color: #fcfcfc; 
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 400px;
    position: relative;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}


.oyun-kart-yeni:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}


.kart-ust {
    text-align: left;
    z-index: 2;
}

.oyun-kategori {
    font-size: 13px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oyun-baslik {
    font-size: 24px;
    color: #222;
    font-weight: 600;
    margin-top: 5px;
}


.kart-merkez {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 20px;
}


.oyun-ikon {
    width: 160px;
    height: 160px;
    border-radius: 35px; 
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}


.oyun-kart-yeni:hover .oyun-ikon {
    opacity: 0;
    transform: scale(0.7);
}


.oyun-hover-linkler {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}


.oyun-kart-yeni:hover .oyun-hover-linkler {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.store-badge {
    width: 140px;  
    height: 42px;  
    object-fit: contain; 
    object-position: center; 
    transition: transform 0.2s ease;
}

.store-badge:hover {
    transform: scale(1.05);
}

.games-banner-section {
    padding: 40px 5%;
}

.games-banner-purple {
    background-color: #000000; 
    border-radius: 40px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    overflow: hidden; 
    position: relative;
}


.banner-text {
    max-width: 500px;
    color: #ffffff;
    z-index: 2;
}

.banner-tag {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.8;
}

.banner-text h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    margin: 20px 0;
    text-transform: uppercase;
}

.banner-text p {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
}


.banner-icons-decor {
    position: relative;
    width: 400px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    
    transform: rotate(0deg) translateY(0.   5px);
}

.mini-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.mini-icon:hover {
    transform: scale(1.1);
}


.banner-image-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
 
    max-width: 50%; 
}


.hero-custom-img {
    
    max-height: 500px; 
    max-width: 250%; 
    width: auto;
    object-fit: contain; 
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}


.rollic-exact-container {
    display: grid;
    
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    max-width: 1100px; 
    margin: 0 auto;
    padding: 0 20px 80px 20px;
}


.rollic-exact-card {
    background-color: #ffffff;
    border-radius: 16px; 
    overflow: hidden;
    border: 1px solid #eaeaec; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.0); 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.rollic-exact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: #ffffff;
}


.featured-card {
    grid-column: span 2;
    flex-direction: row; 
}


.featured-card .rollic-exact-img-box {
    width: 60%; 
    height: 380px; 
}


.featured-card .rollic-exact-text-box {
    width: 40%;
    justify-content: center; 
    padding: 50px 40px;
}


.featured-card .rollic-exact-title {
    font-size: 32px; 
}



.rollic-exact-img-box {
    width: 100%;
    height: 240px; 
    overflow: hidden;
}

.rollic-exact-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease; 
}

.rollic-exact-card:hover .rollic-exact-img {
    transform: scale(1.06);
}

.rollic-exact-text-box {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
}

.rollic-exact-date {
    font-size: 13px;
    font-weight: 600;
    color: #888888; 
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.rollic-exact-title {
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    margin-bottom: 15px;
}

.rollic-exact-desc {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 0;
}


@media screen and (max-width: 900px) {
    .rollic-exact-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .featured-card {
        grid-column: span 1;
        flex-direction: column; 
    }
    
    .featured-card .rollic-exact-img-box {
        width: 100%;
        height: 240px;
    }
    
    .featured-card .rollic-exact-text-box {
        width: 100%;
        padding: 30px 25px;
    }
    
    .featured-card .rollic-exact-title {
        font-size: 24px;
    }
}


@media screen and (max-width: 900px) {
    .gembirds-exact-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}


@media screen and (max-width: 800px) {
    .games-banner-purple {
        flex-direction: column;
        height: auto;
        padding: 60px 30px;
        text-align: center;
    }
    .banner-text h1 { font-size: 40px; }
    .banner-icons-decor { display: none; } 
}



footer { background-color: #111; color: #fff; padding: 80px 5% 40px 5%; }
.footer-icerik { display: flex; justify-content: space-between; border-bottom: 1px solid #333; padding-bottom: 40px; margin-bottom: 30px; }
.footer-logo { font-size: 28px; font-weight: 800; }
.footer-linkler a { color: #aaa; text-decoration: none; margin-right: 25px; transition: 0.3s; }
.footer-linkler a:hover { color: #fff; }
.footer-alt { text-align: center; color: #555; font-size: 14px; }


@media screen and (max-width: 900px) {
    .hero-content h1 { font-size: 45px; }
    .oyun-grid { grid-template-columns: 1fr; }
    .hero-image-container { height: 350px; }
    .nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    margin-top: 15px;
}

.navbar {
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
    .footer-icerik { flex-direction: column; gap: 40px; }
    .news-card { flex-direction: column; }
    .news-img { width: 100%; height: 250px; }
   
.oyun-grid, .team-grid { grid-template-columns: 1fr; }  
}

/*Highlights*/

.news-detail-header {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.news-header-overlay {
    width: 100%;
    padding: 60px 5%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
}

.news-detail-date {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #bfa1ff; 
    margin-bottom: 10px;
    display: inline-block;
}

.news-header-overlay h1 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.1;
    max-width: 900px;
}

.news-content-container {
    max-width: 800px; 
    margin: 0 auto;
    padding: 40px 20px 100px 20px;
}

.back-to-news {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #673ab7;
    text-decoration: none;
    margin-bottom: 40px;
    transition: color 0.3s;
}

.back-to-news:hover {
    color: #111;
}

.news-article p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.news-article .lead-text {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    margin-bottom: 40px;
    line-height: 1.6;
}

.news-article h3 {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin: 40px 0 20px 0;
}

.article-inline-img {
    width: 100%;
    border-radius: 16px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}


@media screen and (max-width: 800px) {
    .news-header-overlay h1 { font-size: 35px; }
}
@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .logo img {
        max-width: 190px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 18px;
        width: 100%;
        margin-top: 5px;
    }

    .nav-links a {
        font-size: 17px;
        margin: 0;
    }

    .contact-btn {
        padding: 8px 22px;
        font-size: 16px;
        margin-top: 0px;
    }
}
@media screen and (max-width: 768px) {
    .navbar {
        margin-bottom:-15px;
        padding: 5px 16px 5px;
        min-height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    .logo {
        margin: 0;
        cursor: default;
        pointer-events: none;
        justify-content: center;
    }

    .logo-img {
        height: 45px;
        transform: none;
        transform-origin: center center;
        width: auto;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        margin-top:0;
        gap: 14px;
        width: 100%;
        position: relative;
        z-index: 9999;
    }

    .nav-links a {
        font-size: 15px;
        pointer-events: auto;
    }
}
  .nav-links {
        margin-bottom: 14px;
    }

    .contact-btn {
        margin-top: 8px;
        margin-bottom: 10px;
    }

         .hero-image-container {
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        left: auto !important;
        transform: none !important;
        text-align: center !important;
    }

    .hero-custom-img {
        display: block !important;
        width: 95% !important;
        max-width: 95% !important;
        height: auto !important;
        max-height: none !important;
        margin: 20px auto 0 !important;
        object-fit: contain !important;
        object-position: center bottom !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        flex-shrink: 1 !important;
    }

.rollic-exact-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    max-height: 4.8em;
}

/* Gameplay Videos */
.gameplay-videos-grid {
    max-width: 1200px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 40px;
}

.gameplay-video-card {
    background: #fff;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.gameplay-video-card video {
    width: 100%;
    border-radius: 16px;
    display: block;
    background: #000;
}

.gameplay-video-card h3 {
    margin-top: 15px;
    font-size: 20px;
    color: #111;
}

@media screen and (max-width: 768px) {
    .gameplay-videos-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 22px;
    }
}

/* Gameplay video size fix */
.gameplay-videos-grid {
    max-width: 950px !important;
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
    gap: 28px !important;
}

.gameplay-video-card {
    max-width: 430px !important;
    margin: 0 auto !important;
}

.gameplay-video-card video {
    width: 100% !important;
    height: 360px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
}

@media screen and (max-width: 768px) {
    .gameplay-videos-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        padding: 0 20px !important;
    }

    .gameplay-video-card video {
        height: 300px !important;
    }
}

/* Gameplay video fullscreen/zoom fix */
.gameplay-video-card video {
    object-fit: contain !important;
    background: #000 !important;
}

.gameplay-video-card video:fullscreen {
    object-fit: contain !important;
    background: #000 !important;
}

.gameplay-video-card video:-webkit-full-screen {
    object-fit: contain !important;
    background: #000 !important;
}

/* Equal gameplay video cards */
.gameplay-videos-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 430px) !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 45px !important;
}

.gameplay-video-card {
    width: 430px !important;
    min-height: 520px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.gameplay-video-card video {
    width: 100% !important;
    height: 360px !important;
    object-fit: contain !important;
    background: #000 !important;
    border-radius: 16px !important;
}

.gameplay-video-card h3 {
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

@media screen and (max-width: 768px) {
    .gameplay-videos-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 0 20px !important;
    }

    .gameplay-video-card {
        width: 100% !important;
        max-width: 430px !important;
        margin: 0 auto !important;
    }

    .gameplay-video-card video {
        height: 330px !important;
    }
}

/* Gameplay videos portrait card layout */
.gameplay-videos-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 320px) !important;
    justify-content: center !important;
    gap: 45px !important;
}

.gameplay-video-card {
    width: 320px !important;
    min-height: auto !important;
    padding: 18px !important;
    margin: 0 auto !important;
}

.gameplay-video-card video {
    width: 100% !important;
    height: 520px !important;
    object-fit: cover !important;
    background: #000 !important;
    border-radius: 18px !important;
}

.gameplay-video-card h3 {
    margin-top: 18px !important;
    min-height: auto !important;
    text-align: center !important;
    justify-content: center !important;
}

@media screen and (max-width: 768px) {
    .gameplay-videos-grid {
        grid-template-columns: 1fr !important;
        padding: 0 20px !important;
    }

    .gameplay-video-card {
        width: 100% !important;
        max-width: 320px !important;
    }

    .gameplay-video-card video {
        height: 500px !important;
    }
}

/* Gameplay videos 3 cards per row */
.gameplay-videos-grid {
    grid-template-columns: repeat(3, 320px) !important;
    justify-content: center !important;
    gap: 35px !important;
}

@media screen and (max-width: 1100px) {
    .gameplay-videos-grid {
        grid-template-columns: repeat(2, 320px) !important;
    }
}

@media screen and (max-width: 768px) {
    .gameplay-videos-grid {
        grid-template-columns: 1fr !important;
    }
}
/* Mobilde gameplay video kartlarını küçült */
@media screen and (max-width: 768px) {
    .gameplay-videos-grid {
        grid-template-columns: 1fr !important;
        padding: 0 14px !important;
        gap: 24px !important;
    }

    .gameplay-video-card {
        width: 100% !important;
        max-width: 280px !important;
        padding: 12px !important;
        margin: 0 auto !important;
        border-radius: 18px !important;
    }

    .gameplay-video-card video {
        width: 100% !important;
        height: 440px !important;
        object-fit: cover !important;
        border-radius: 14px !important;
    }

    .gameplay-video-card h3 {
        font-size: 18px !important;
        margin-top: 12px !important;
        text-align: center !important;
    }
}

@media screen and (max-width: 768px) {
    .gameplay-video-card {
        max-width: 240px !important;
        padding: 10px !important;
    }

    .gameplay-video-card video {
        height: 380px !important;
    }

    .gameplay-video-card h3 {
        font-size: 16px !important;
        margin-top: 10px !important;
    }
}

/* Mobile Safari game store buttons */
@media screen and (max-width: 768px) {
    .oyun-kart-yeni .oyun-hover-linkler {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .oyun-kart-yeni.mobile-open .oyun-hover-linkler {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        z-index: 50 !important;
    }

    .oyun-kart-yeni.mobile-open .oyun-hover-linkler a,
    .oyun-kart-yeni.mobile-open .store-badge {
        pointer-events: auto !important;
    }
}
