:root {
    --bg-main: #0e0f13;
    --bg-dark: #0a0b0f;
    --text-main: #e6e6eb;
    --text-muted: #a0a3ad;
    --accent: #c7a46a;
    --accent-dark: #665334;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(14, 15, 19, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(6px);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
}

nav {
	display: flex;
	height: 20px;
}


nav a {
    margin-left: .6rem;
    color: var(--text-muted);
}

nav a:hover {
    color: var(--text-main);
}

.nav-text {
	font-size: 1rem;
	margin-right: 1rem;
}

.sm-link {
	color: var(--text-muted);
	fill: var(--text-muted);
}

.sm-link:hover {
	color: var(--text-main);
	fill: var(--text-main);
}

.hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    background:
        radial-gradient(circle at center, #1a1c24 0%, #0e0f13 70%);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    color: var(--text-muted);
    max-width: 600px;
}

.section {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.section-dark {
    background-color: var(--bg-dark);
}

/* NEWS SECTION */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: linear-gradient(160deg, #161824, #0f111a);
    border: 1px solid #1f2230;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.news-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.news-subline {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.news-content {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* YouTube embed */

.news-video {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 6px;
    overflow: hidden;
}

.news-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


.game-card {
    background: linear-gradient(160deg, #161824, #0f111a);
    border: 1px solid #1f2230;
    padding: 2rem;
    border-radius: 8px;
}

.game-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.game-genre {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.game-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.game-actions {
    display: flex;
    gap: 0.6rem;
}

.game-actions button {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-size: 16px;
    
        /* FIX */
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.game-actions svg {
    display: block;
}

.btn-disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-enabled {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity ease 0.3s;
}

.btn-enabled:hover {
    opacity: 0.9;
}

/* GAME CARD SPLIT LAYOUT */

.game-card-content {
    display: flex;
    align-items: stretch;
    gap: 2rem;
}

/* LEFT TEXT COLUMN */
.game-info {
    flex: 1;
    min-width: 0;
}

/* RIGHT IMAGE COLUMN */
.game-image {
    width: 260px;              /* fixed width */
    border-radius: 6px;
    overflow: hidden;
    background-color: #0a0b0f;
    flex-shrink: 0;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* crops image */
    display: block;
    border-radius: 4px;
}

/* MOBILE STACKING */
@media (max-width: 768px) {
    .game-card-content {
        flex-direction: column;
    }

    .game-image {
        width: 100%;
        height: 180px;
    }
}


.site-footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    background-color: var(--bg-dark);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    nav a {
        margin-left: 1rem;
    }
}


/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 11, 15, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay.hidden {
    display: none;
}

/* Modal */
.modal {
    background: var(--bg-main);
    padding: 24px;
    border-radius: 8px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal h2 {
    margin: 0;
    color: var(--text-main);
}

/* Input */
.modal input[type="email"] {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid;
    border-color:  var(--accent-dark);
    background: var(--bg-dark);
    color: var(--text-main);
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.modal input::placeholder {
    color: var(--text-muted);
}

.modal input:focus {
    outline: none;
    border-color: var(--accent);
    border-width: 1px;
}

/* Checkbox */
.checkbox {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox input {
    accent-color: var(--accent);
    margin-top: 3px;
}

.success-message {
    color: #6fd08c;
    background: rgba(111, 208, 140, 0.12);
    border: 1px solid rgba(111, 208, 140, 0.35);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.success-message.hidden {
    display: none;
}

/* Disable modal interaction while success is shown */
.modal.success {
    pointer-events: none;
    opacity: 0.95;
}

/* Submit button spacing */
#follow-submit {
    margin: auto;
    margin-top: 8px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-size: 16px;
    width: 10rem;
    text-align: center;
}


@media (max-width: 768px) {
    .site-header {
        padding: 0.8rem 1rem;
    }

    nav {
        align-items: center;
    }

    .nav-text {
        display: none; /* keeps icons only */
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 5rem 1.5rem 4rem;
    }

    .hero p {
        font-size: 0.95rem;
    }
}



@media (max-width: 768px) {
    .game-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .game-actions button {
        width: 100%;
        justify-content: center;
    }
}



@media (max-width: 768px) {
    .game-card {
        padding: 1.5rem;
    }

    .game-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .modal {
        margin: 0 1rem;
        padding: 20px;
    }

    #follow-submit {
        width: 100%;
    }
}








