/*
Theme Name: RuneSpins
Theme URI: https://runespins.com
Description: A modern social casino theme for RuneSpins
Version: 1.0.5
Author: Highland Play Studios Ltd
Author URI: https://runespins.com
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6B35;
    --primary-dark: #1a1a2e;
    --secondary-dark: #2d2d44;
    --accent-orange: #ff8c42;
    --text-light: #ffffff;
    --text-gray: #b8b8d1;
}

body {
    font-family: 'Orbitron', 'Arial', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff4500 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 25px;
    border: 2px solid var(--text-light);
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background: var(--text-light);
    color: var(--primary-orange);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--text-light);
    color: var(--primary-orange);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-light);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff4500 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero.webp') center/cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

/* Featured Games Section */
.featured-games {
    background: var(--primary-dark);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .icon {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--primary-orange);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-orange);
    text-transform: uppercase;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: var(--secondary-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.game-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

.game-badge {
    display: none;
}

.game-info {
    padding: 20px;
    text-align: center;
}

.game-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

/* Why Players Love Section */
.why-section {
    background: var(--secondary-dark);
    padding: 80px 0;
}

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

.feature-card {
    background: var(--primary-dark);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--primary-orange);
}

.feature-card h3 {
    font-size: 20px;
    color: var(--primary-orange);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 14px;
}

.cta-button {
    text-align: center;
    margin-top: 50px;
}

/* About Section */
.about-section {
    background: var(--primary-dark);
    padding: 80px 0;
}

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

.about-content h2 {
    color: var(--primary-orange);
    font-size: 32px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background: var(--secondary-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    color: var(--primary-orange);
    font-weight: bold;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-top: 10px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-card {
    background: var(--secondary-dark);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-orange);
}

.info-card.highlight {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff4500 100%);
    border: none;
}


.info-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.info-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.info-card.highlight p {
    color: rgba(255,255,255,0.9);
}

/* Footer */
footer {
    background: var(--secondary-dark);
    padding: 60px 0 30px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
}

.responsible-gaming {
    background: var(--primary-dark);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 40px;
}

.gaming-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.gaming-icons img {
    height: 40px;
}

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

.footer-section h4 {
    color: var(--primary-orange);
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
}

.footer-section p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-gray);
    font-size: 14px;
}

/* Page Content */
.page-content {
    background: var(--primary-dark);
    padding: 80px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 48px;
    color: var(--primary-orange);
    text-transform: uppercase;
}

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

.content-section h2 {
    color: var(--primary-orange);
    font-size: 28px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.content-section h3 {
    color: var(--primary-orange);
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 30px;
}

.content-section p,
.content-section ul {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul {
    padding-left: 20px;
}

.content-section ul li {
    margin-bottom: 8px;
}

/* Game Page */
.game-page {
    background: var(--primary-dark);
    padding: 40px 0;
    min-height: 100vh;
}

.game-header {
    background: var(--secondary-dark);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
}

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

.game-title-section h1 {
    font-size: 32px;
    color: var(--text-light);
}

.game-category {
    background: var(--primary-orange);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    text-transform: uppercase;
}

.back-button {
    background: var(--primary-orange);
    color: var(--text-light);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.game-container {
    background: var(--secondary-dark);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

#gameIframe {
    width: 100%;
    height: 600px;
    border: none;
}

.game-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    background: var(--secondary-dark);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-icon {
    font-size: 30px;
    color: var(--primary-orange);
}

.detail-info h4 {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-light);
}

.game-features {
    background: var(--secondary-dark);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.game-features h2 {
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.game-description {
    background: var(--secondary-dark);
    padding: 30px;
    border-radius: 15px;
}

.game-description h2 {
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.game-description p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Login/Register Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--secondary-dark);
    padding: 40px;
    border-radius: 15px;
    max-width: 450px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text-light);
}

.modal-content h2 {
    color: var(--primary-orange);
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--primary-dark);
    background: var(--primary-dark);
    color: var(--text-light);
    border-radius: 8px;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-orange);
    color: var(--text-light);
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-gray);
    font-size: 14px;
}

.form-footer a {
    color: var(--primary-orange);
    text-decoration: none;
    cursor: pointer;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    #gameIframe {
        height: 400px;
    }
}
