/*
 * Stylesheet for the WagiBet site based on the Optibet layout.
 * Utilises a fresh purple and gold palette and responsive design.
 */

:root {
    --primary-color: #2c1146; /* rich purple */
    --secondary-color: #e5b345; /* warm gold */
    --light-bg: #f7f1fc; /* pale lavender */
    --alt-bg: #ffffff; /* white for contrast */
    --text-color: #333;
    --heading-color: #2c1146;
    --max-width: 1200px;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: var(--primary-color);
    color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 600;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--secondary-color);
}

/* Hero */
.hero {
    position: relative;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44,17,70,0.6);
}

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

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Steps in hero */
.steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
    gap: 15px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    background-color: rgba(255,255,255,0.2);
    padding: 10px 15px;
    border-radius: 30px;
    color: #fff;
}

.step span {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c9952f;
    color: #fff;
}

/* Sections */
.section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.section.alt {
    background-color: var(--alt-bg);
}

.section h2 {
    color: var(--heading-color);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.section p {
    margin-bottom: 20px;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.section-content .text {
    flex: 1 1 55%;
    min-width: 280px;
}

.section-content .image {
    flex: 1 1 40%;
    min-width: 260px;
    text-align: center;
}

.section-content img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Age and addiction warnings */
.age-warning, .addiction-warning {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 10px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 5px;
    font-weight: 500;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav ul {
        gap: 10px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section h2 {
        font-size: 1.6rem;
    }
    .section-content {
        flex-direction: column;
    }
    .section-content .text, .section-content .image {
        flex: 1 1 100%;
    }
}