/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary-color: #d67414;
    --primary-hover: #ff9832;
    --background-dark: #171a28;
    --background-light: #2b2f42;
    --accent-gray: #3d4353;
    --text-white: #ffffff;
    --text-light: #95b6c9;
    --text-blue: #00a0ff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--background-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header and Navigation */
header {
    background-color: var(--background-light);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.burger-menu {
    display: flex;
    align-items: center;
}

.burger-icon {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-right: 1rem;
    padding: 8px;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    margin: 2px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 1rem;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

.auth-buttons a {
    background-color: transparent;
    border: 2px solid var(--text-white);
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.auth-buttons a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.auth-buttons a.register {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.auth-buttons a.register:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Hero Section with responsive background image */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/bonusbanner1.webp') center/cover no-repeat;
    color: var(--text-white);
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Section */
.content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

h2 {
    color: var(--text-white);
    margin: 1.5rem 0 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

h3 {
    color: var(--text-light);
    margin: 1.2rem 0 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Lists */
ul, ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-light);
}

li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

/* Tables */
table {
    width: 100%;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.2rem 0;
    background-color: var(--background-light);
    border-radius: 0.75rem;
    overflow: hidden;
    table-layout: fixed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

th, td {
    padding: 0.75rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid var(--accent-gray);
    color: var(--text-white);
    word-break: break-word;
    font-size: 1rem;
}

th {
    background-color: var(--primary-color);
    color: var(--text-white);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-hover);
}

tr:last-child td {
    border-bottom: none;
}

tr {
    transition: background 0.2s;
}

tr:hover td {
    background-color: rgba(214, 116, 20, 0.08); /* subtle orange highlight */
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    margin: 1rem 0;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 6px rgba(214, 116, 20, 0.2);
}

.cta-button:hover {
    background-color: var(--primary-hover);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(214, 116, 20, 0.3);
}

.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: var(--background-light);
    color: var(--text-white);
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--text-blue);
}

/* Close Menu Button */
.close-menu {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.close-menu span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    transition: var(--transition);
}

.close-menu span:first-child {
    transform: rotate(45deg);
}

.close-menu span:last-child {
    transform: rotate(-45deg);
}

.close-menu:hover span {
    background-color: var(--primary-color);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger-icon {
        display: flex;
    }

    .close-menu {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--background-light);
        flex-direction: column;
        align-items: center;
        padding: 4rem 0 2rem;
        transition: var(--transition);
        z-index: 100;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid var(--accent-gray);
        font-size: 1.1rem;
    }

    .auth-buttons {
        margin-left: auto;
    }

    .burger-icon.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-icon.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-icon.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Content adjustments for mobile */
    .content {
        padding: 1.2rem;
        margin: 1rem;
        border-radius: 12px;
    }

    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/bonusbannermob1.webp') center/cover no-repeat;
        min-height: 160px;
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    table {
        font-size: 0.98rem;
        margin: 1rem 0 1.5rem 0;
        border-radius: 0.5rem;
    }

    th, td {
        padding: 0.6rem 0.3rem;
    }

    .cta-button {
        width: 100%;
        padding: 1.2rem;
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    .auth-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }

    .auth-buttons a {
        width: auto;
        min-width: 100px;
        text-align: center;
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .content {
        padding: 1rem;
        margin: 0.8rem;
    }

    .hero {
        padding: 1.5rem 1rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p, li {
        font-size: 0.95rem;
    }

    /* Removed a, button styles for inline links and buttons */
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-dark: #171a28;
        --background-light: #2b2f42;
    }
}

/* Content link styles */
.content a, .content a:visited {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: inherit;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom-color 0.2s;
    word-break: break-word;
}

.content a:hover, .content a:focus {
    color: var(--primary-hover);
    border-bottom: 2px solid var(--primary-hover);
    text-decoration: none;
}

/* Table cell links */
td a, th a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: inherit;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom-color 0.2s;
}

td a:hover, th a:hover {
    color: var(--primary-hover);
    border-bottom: 2px solid var(--primary-hover);
} 