/* ========================================
   WANSTEAD GROUP - RESPONSIVE STYLESHEET
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
color: yellow;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a:hover,
nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   MAIN CONTENT
   ======================================== */
main {
    min-height: calc(100vh - 400px);
    padding: 2rem 0;
}

article {
    background: white;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.8rem;
    color: #2a5298;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2a5298;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

/* ========================================
   META BOX (Author & Date)
   ======================================== */
.meta-box {
    background: #f8f9fa;
    border-left: 4px solid #2a5298;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details strong {
    color: #333;
    font-size: 1rem;
}

.author-details span {
    color: #666;
    font-size: 0.9rem;
}

.date-info {
    color: #666;
    font-size: 0.9rem;
}

/* ========================================
   INTRO TEXT
   ======================================== */
.intro-text {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.intro-text p {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: #333;
}

/* ========================================
   CASINO COMPARISON TABLE
   ======================================== */
.casino-table-section {
    margin: 2.5rem 0;
}

.casino-table {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.casino-row {
    display: grid;
    grid-template-columns: 60px 1fr 2fr auto;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    background: white;
}

.casino-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.casino-row.clickable {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.casino-row.clickable:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.casino-rank {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2a5298;
    text-align: center;
}

.casino-header .casino-rank {
    color: white;
    font-size: 0.9rem;
}

.casino-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.casino-name strong {
    font-size: 1.1rem;
    color: #1e3c72;
}

.badge-new {
    background: #28a745;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.casino-bonus {
    color: #333;
    font-weight: 500;
}

.casino-cta .btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.casino-row.clickable:hover .btn {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    margin: 2.5rem 0;
}

.checklist {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.checklist-item {
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #2a5298;
}

.checklist-item:last-child {
    margin-bottom: 0;
}

.checklist-item strong {
    color: #1e3c72;
}

/* ========================================
   ABOUT PAGE - TEAM SECTION
   ======================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid #2a5298;
}

.value-item h3 {
    margin-top: 0;
    color: #1e3c72;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.team-member {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team-member h3 {
    margin: 1rem 0 0.5rem 0;
    color: #1e3c72;
}

.team-member .role {
    color: #2a5298;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member .bio {
    color: #666;
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.6;
}

.process-list {
    background: #f8f9fa;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.process-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.process-list li:last-child {
    margin-bottom: 0;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-info-section {
    margin: 2.5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-top: 0;
    color: #1e3c72;
}

.contact-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2a5298;
}

.contact-hours {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.help-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.help-topic {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2a5298;
}

.help-topic h3 {
    margin-top: 0;
    color: #1e3c72;
}

.faq-links,
.support-links {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.faq-links li,
.support-links li {
    margin-bottom: 0.8rem;
}

.contact-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.responsible-gaming-links {
    margin-top: 1rem;
}

.age-restriction {
    margin-top: 1rem;
    font-weight: 700;
    color: #ffc107;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.85rem;
    font-style: italic;
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 0.8rem;
        justify-content: center;
    }

    nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    article {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .casino-row {
        grid-template-columns: 50px 1fr;
        gap: 0.8rem;
        padding: 1rem;
    }

    .casino-rank {
        grid-row: 1;
        grid-column: 1;
    }

    .casino-name {
        grid-row: 1;
        grid-column: 2;
    }

    .casino-bonus {
        grid-row: 2;
        grid-column: 1 / -1;
        font-size: 0.9rem;
    }

    .casino-cta {
        grid-row: 3;
        grid-column: 1 / -1;
        text-align: center;
    }

    .casino-header .casino-bonus,
    .casino-header .casino-cta {
        display: none;
    }

    .meta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-grid,
    .contact-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    article {
        padding: 1.2rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    nav ul {
        gap: 0.5rem;
    }

    nav a {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .avatar-large {
        width: 80px;
        height: 80px;
        font-size: 1.6rem;
    }

    .casino-row {
        padding: 0.8rem;
    }

    .casino-cta .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    header,
    footer,
    .casino-cta {
        display: none;
    }

    body {
        background: white;
    }

    article {
        box-shadow: none;
    }
}
