
:root {
    --primary-color: #ff4757; 
    --secondary-color: #1e90ff; 
    --bg-color: #f1f2f6;
    --text-color: #2f3542;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}


.container {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
}


header {
    background-color: var(--card-bg, #ffffff);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    position: relative;
}

.logo {
    margin: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-color, #ff4757);
    font-size: 28px;
    font-weight: bold;
}
.logo .paint {
    color: #FF4342;
}

.logo .hide {
    color: #5CCD49;
}

.logo .seek {
    color: #0DB2F3;
}
header nav {
    width: auto !important;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color, #2f3542);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color, #1e90ff);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    color: var(--text-color, #2f3542);
    position: absolute;
    right: 20px;
    top: 15px;
}


/* Mobil */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 5px 20px;
    }

    .hamburger {
        display: block;
        position: static;
    }

    .logo {
        margin-bottom: 0;
    }

    header nav {
        width: 100% !important;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 15px;
        gap: 15px;
        border-top: 1px solid #dfe4ea;
        padding-top: 15px;
    }

    .nav-links.active {
        display: flex;
    }
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}


.games-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px;
}


.game-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-10px);
}

.card-content {
    padding: 25px;
    text-align: center;
}

.card-content h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.card-content p {
    margin-bottom: 20px;
    font-size: 15px;
    color: #57606f;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #ff3344;
}


footer {
    text-align: center;
    padding: 30px 0;
    background-color: #2f3542;
    color: white;
    margin-top: 40px;
}


@media (max-width: 600px) {
    .hero h2 {
        font-size: 28px;
    }
}


.article-container {
    max-width: 900px; 
    margin: 20px auto;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.article-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.article-meta {
    font-size: 14px;
    color: #a4b0be;
    margin-bottom: 30px;
    font-style: italic;
}

.article-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
    object-fit: cover;
}

.article-container h2 {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 30px 0 15px 0;
}

.article-container p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
}

.article-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-container li {
    margin-bottom: 10px;
    font-size: 17px;
}


.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background-color: #000; 
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


.similar-games-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #dfe4ea;
}

.similar-games-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.similar-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.similar-game-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none; 
    color: var(--text-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.similar-game-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.similar-game-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.similar-game-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.similar-game-info p {
    font-size: 14px;
    color: #57606f;
    margin: 0; 
    line-height: 1.4;
}


.game-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: #2f3542;
    padding: 15px;
    border-radius: 0 0 10px 10px;
    margin-top: -35px;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.game-btn {
    background-color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #2f3542;
    display: flex;
    align-items: center;
    gap: 8px; 
    transition: all 0.3s ease;
}

.game-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}


.game-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor; 
}



.modal-overlay {
    display: none; 
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px); 
    align-items: center;
    justify-content: center;
}


.modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease; 
}

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


.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    background: none;
    border: none;
    color: #a4b0be;
    transition: color 0.3s;
}

.modal-close:hover { color: var(--primary-color); }
.modal-close svg { width: 24px; height: 24px; fill: currentColor; }

.modal-title {
    font-size: 22px;
    color: var(--text-color);
    margin-bottom: 25px;
}


.modal-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.modal-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.3s;
}

.modal-btn:hover { opacity: 0.8; }
.modal-btn svg { width: 20px; height: 20px; fill: white; }


.btn-fb { background-color: #1877F2; }
.btn-wa { background-color: #25D366; }
.btn-tg { background-color: #0088cc; }
.btn-tw { background-color: #000000; }
.btn-copy { background-color: #57606f; }


.custom-table {
    width: 100%;
    border-collapse: collapse; 
    margin: 25px 0;
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.custom-table th, .custom-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dfe4ea;
}

.custom-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.custom-table tr:hover {
    background-color: #f1f2f6; 
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.badge-card {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color); 
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.badge-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.badge-desc {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.badge-stats {
    font-size: 12px;
    color: #57606f;
    line-height: 1.6;
}

.badge-rarity {
    display: inline-block;
    background-color: #dfe4ea;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 5px;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    margin-top: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background-color: #f8f9fa;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color); 
}

.contact-form textarea {
    resize: vertical; 
    min-height: 150px;
}

.fact-box {
    background-color: #ffffff;
    border-top: 4px solid var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.fact-box h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.fact-box p {
    font-size: 15px;
    color: #57606f;
}

.cta-section {
    background: linear-gradient(135deg, #2f3542, #57606f);
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
    margin: 40px auto;
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-box {
    background-color: #ffffff;
    border-left: 5px solid var(--primary-color);
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-question {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.faq-answer {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}