/* Global Styles */
:root {
    --primary-color: #6a0dad; /* Deep Purple */
    --secondary-color: #ffc107; /* Amber */
    --accent-color: #00bcd4; /* Cyan */
    --dark-bg: #1a1a2e; /* Dark Blue-Purple */
    --light-bg: #f4f4f9; /* Off-White */
    --text-color: #e0e0e0; /* Light Gray */
    --dark-text: #333333; /* Dark Gray */
    --border-color: #4a4a6a;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --font-family: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    white-space: normal;
    word-break: break-word;
}

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

.btn.primary-btn:hover {
    background-color: #5a0a99;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

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

.btn.secondary-btn:hover {
    background-color: #e6b000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
    color: #fff;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Top Disclaimer */
.top-disclaimer {
    background-color: #8B0000; /* Dark Red */
    color: #fff;
    padding: 8px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Header Section */
.site-header {
    background-color: rgba(26, 26, 46, 0.95); /* Slightly transparent dark background */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

.site-logo {
    height: 40px;
    margin-right: 10px;
}

.site-name {
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-nav .nav-list a {
    color: #fff;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-list a:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 700px;
}

.hero-section .dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-left h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-left ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.hero-left ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-left ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.3rem;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-cards-stack {
    position: relative;
    width: 300px;
    height: 400px;
}

.game-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card .card-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.game-card:hover .card-details {
    transform: translateY(0);
}

.game-card:hover img {
    transform: scale(1.05);
}

.game-card.card-1 {
    transform: rotate(-8deg) translateX(-15px) translateY(-10px);
    z-index: 3;
}

.game-card.card-2 {
    transform: rotate(0deg);
    z-index: 4;
}

.game-card.card-3 {
    transform: rotate(8deg) translateX(15px) translateY(10px);
    z-index: 5;
}

.game-card.card-1:hover {
    transform: rotate(-8deg) translateX(-15px) translateY(-10px) scale(1.05);
    z-index: 6;
}

.game-card.card-2:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 6;
}

.game-card.card-3:hover {
    transform: rotate(8deg) translateX(15px) translateY(10px) scale(1.05);
    z-index: 6;
}

/* About Us Section */
.about-section {
    padding: 80px 0;
    background-color: #2a2a4a;
}

.about-content {
    display: flex;
    flex-direction: column;
    color: #ccc;
}

.about-content p {
    font-size: 1.05rem;
    margin: 7px 0 12px !important;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.about-content ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #fff;
}

.about-content ul li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.game-review {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    color: #ccc;
}

.game-review p {
    font-size: 1.05rem;
}

.game-rating {
    margin-top: 20px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.game-rating i {
    margin: 0 2px;
}

.game-rating span {
    font-size: 1rem;
    color: #fff;
    margin-left: 10px;
}

.game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card-item {
    background-color: #2a2a4a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.game-card-item .game-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.game-card-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.game-card-item .game-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-card-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.game-card-item p {
    font-size: 0.95rem;
    color: #ccc;
    flex-grow: 1;
    margin-bottom: 15px;
}

.game-card-item .play-game-btn {
    width: 100%;
    margin-top: auto;
}

/* Game Modal */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.game-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.game-modal-content {
    position: relative;
    width: 95%;
    height: 95%;
    background-color: var(--dark-bg);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.game-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.close-modal-btn:hover {
    background-color: #5a0a99;
    transform: rotate(90deg);
}

/* Tournaments Section (Why Players Love Us) */
.tournaments-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: #fff;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tournaments-section .dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.tournaments-section .container {
    position: relative;
    z-index: 2;
}

.tournaments-section .section-title {
    color: #fff;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tournaments-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #ccc;
}

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

.reason-item {
    background-color: rgba(42, 42, 74, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-10px);
    background-color: var(--primary-color);
}

.reason-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.reason-item h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #fff;
}

.reason-item p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #2a2a4a;
}

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

.testimonial-card {
    background-color: #1a1a2e;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

.testimonial-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #fff;
}

.testimonial-card span {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 15px;
    display: block;
}

.testimonial-card p {
    font-style: italic;
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background-color: #2a2a4a;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.accordion-header {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    padding: 18px 25px;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background-color: #5a0a99;
}

.accordion-header .accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 25px;
    background-color: #1a1a2e;
    color: #ccc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content.is-open {
    max-height: 200px; /* Adjust as needed for content */
    padding: 15px 25px;
}

/* Contact Form Section */
.contact-section {
    padding: 80px 0;
    background-color: #2a2a4a;
}

.contact-section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #ccc;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #1a1a2e;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #333355;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.3);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .primary-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

/* Responsible Gaming Disclaimer */
.responsible-gaming-disclaimer {
    background-color: #4a0000; /* Darker red */
    padding: 60px 0;
    text-align: center;
    color: #fff;
    border-top: 5px solid #8B0000;
    border-bottom: 5px solid #8B0000;
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.disclaimer-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.disclaimer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.disclaimer-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 46, 0.95);
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1500;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-banner p a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-actions .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1600;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.cookie-settings-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.cookie-settings-content {
    background-color: #2a2a4a;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    color: #fff;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-settings-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.cookie-settings-content p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 25px;
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
    padding-bottom: 0;
}

.cookie-category input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
    vertical-align: middle;
}

.cookie-category label {
    font-weight: 600;
    font-size: 1.1rem;
    vertical-align: middle;
    color: #fff;
}

.cookie-category .description {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 5px;
    margin-left: 28px;
}

.save-cookie-settings {
    width: 100%;
    padding: 12px;
}

.close-cookie-settings-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-cookie-settings-btn:hover {
    color: var(--secondary-color);
}

/* Footer Section */
.site-footer {
    background-color: #1a1a2e;
    color: #ccc;
    padding: 50px 0 20px 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.footer-brand .logo-link {
    margin-bottom: 15px;
    display: inline-flex;
}

.footer-brand .site-name {
    font-size: 1.5rem;
}

.footer-brand .site-logo {
    height: 35px;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 15px;
}

.footer-links h4,
.footer-support-logos h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 5px;
}

.footer-links h4::after,
.footer-support-logos h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.support-logos-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
}

.support-logos-wrapper a,
.support-logos-wrapper img.age-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px; /* Uniform height for all logos */
    width: auto;
    max-width: 120px;
    transition: transform 0.2s ease;
}

.support-logos-wrapper a:hover {
    transform: scale(1.05);
}

.support-logos-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-logos-wrapper img.age-icon {
    max-width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #888;
    font-size: 0.85rem;
}

/* Age Verification Pop-up */
.age-verification-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.4s, opacity 0.4s;
}

.age-verification-popup.show {
    visibility: visible;
    opacity: 1;
}

.age-verification-popup .popup-content {
    background-color: #1a1a2e;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    max-width: 500px;
    width: 90%;
    color: #fff;
}

.age-verification-popup h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.age-verification-popup p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ccc;
}

.age-verification-popup .popup-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.age-verification-popup .btn {
    min-width: 120px;
    font-size: 1.05rem;
}

/* Responsive Typography */
@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem; /* Desktop */
    }
    h2 {
        font-size: 2.2rem; /* Desktop */
    }
    .site-name {
        font-size: 1.8rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 2.8rem; /* Tablet */
    }
    h2 {
        font-size: 2rem; /* Tablet */
    }
    .site-name {
        font-size: 1.5rem;
    }
    .hero-section {
        padding: 80px 0;
    }
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .hero-left {
        max-width: 100%;
    }
    .hero-left ul {
        text-align: left;
        display: inline-block;
    }
    .hero-right {
        margin-top: 40px;
    }
    .game-cards-stack {
        width: 250px;
        height: 350px;
    }
    .main-nav .nav-list {
        gap: 20px;
    }
}

@media (max-width: 1100px) {
    .main-nav .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: rgba(26, 26, 46, 0.98);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        text-align: center;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .main-nav .nav-list.is-open {
        display: flex;
    }

    .main-nav .nav-list li {
        margin: 10px 0;
    }

    .main-nav .nav-list a {
        font-size: 1.2rem;
    }

    .burger-menu {
        display: block;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem; /* Mobile */
    }
    h2 {
        font-size: 1.8rem; /* Mobile */
    }
    .site-name {
        font-size: 1.25rem;
    }
    .site-logo {
        height: 30px;
    }
    .logo-link {
        font-size: 1.5rem;
    }
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .hero-left {
        max-width: 100%;
    }
    .hero-left h1 {
        font-size: 2.5rem;
    }
    .hero-left p {
        font-size: 1rem;
    }
    .hero-left ul {
        text-align: left;
        display: inline-block;
    }
    .hero-right {
        margin-top: 40px;
    }
    .game-cards-stack {
        width: 200px;
        height: 300px;
    }
    .game-card.card-1 {
        transform: rotate(-5deg) translateX(-10px) translateY(-5px);
    }
    .game-card.card-3 {
        transform: rotate(5deg) translateX(10px) translateY(5px);
    }
    .game-card.card-1:hover {
        transform: rotate(-5deg) translateX(-10px) translateY(-5px) scale(1.05);
    }
    .game-card.card-3:hover {
        transform: rotate(5deg) translateX(10px) translateY(5px) scale(1.05);
    }
    .section-title {
        font-size: 1.8rem;
    }
    .about-section, .games-section, .tournaments-section, .testimonials-section, .faq-section, .contact-section, .responsible-gaming-disclaimer {
        padding: 50px 0;
    }
    .game-cards-grid {
        grid-template-columns: 1fr;
    }
    .reasons-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand .logo-link {
        justify-content: center;
    }
    .footer-links h4::after,
    .footer-support-logos h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .support-logos-wrapper {
        justify-content: center;
    }
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-actions {
        width: 100%;
        justify-content: stretch;
    }
    .cookie-actions .btn {
        flex-grow: 1;
    }
    .age-verification-popup .popup-content {
        padding: 30px;
    }
    .age-verification-popup h2 {
        font-size: 1.5rem;
    }
    .age-verification-popup p {
        font-size: 1rem;
    }
    .age-verification-popup .popup-actions {
        flex-direction: column;
        gap: 15px;
    }
    .age-verification-popup .btn {
        min-width: unset;
        width: 100%;
    }
}
/* Styles for the main container of the trust pillar unit */
.trustPillarUnit {
    padding: 2rem 1.5rem; /* Top/bottom and left/right padding for the content area */
    max-width: 1200px; /* Max width for better readability on large screens */
    margin: 0 auto; /* Center the container horizontally */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

/* Heading 1 styles */
.trustPillarUnit h1 {
    font-size: 2.2rem; /* Moderate font size for H1 (approx. 35px if 1rem=16px) */
    line-height: 1.2; /* Improved line height for readability */
    margin-top: 2rem; /* Space above the heading */
    margin-bottom: 1rem; /* Space below the heading */
    font-weight: 600; /* Slightly bolder than normal */
    color: #ff6b6b; /* Dark grey text color */
}

/* Heading 2 styles */
.trustPillarUnit h2 {
    font-size: 1.8rem; /* Moderate font size for H2 (approx. 29px) */
    line-height: 1.3;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #ff6b6b;
}

/* Heading 3 styles */
.trustPillarUnit h3 {
    font-size: 1.5rem; /* Moderate font size for H3 (approx. 24px) */
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
    font-weight: 500; /* Slightly less bold */
    color: #ff6b6b;
}

/* Heading 4 styles */
.trustPillarUnit h4 {
    font-size: 1.25rem; /* Moderate font size for H4 (approx. 20px) */
    line-height: 1.5;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: #ff6b6b;
}

/* Heading 5 styles */
.trustPillarUnit h5 {
    font-size: 1.1rem; /* Moderate font size for H5 (approx. 17.6px) */
    line-height: 1.5;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 400; /* Normal font weight */
    color: #ff6b6b;
}

/* Paragraph styles */
.trustPillarUnit p {
    font-size: 1rem; /* Base font size for paragraphs (approx. 16px) */
    line-height: 1.7; /* Increased line height for better readability */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: #fff; /* Slightly lighter dark grey for body text */
}

/* Unordered list styles */
.trustPillarUnit ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1rem; /* Space below the list */
    padding-left: 1.5rem; /* Indentation for the bullet points */
    color: #fff; /* Inherit text color */
}

/* List item styles */
.trustPillarUnit li {
    font-size: 1rem; /* Base font size for list items */
    line-height: 1.7; /* Consistent line height with paragraphs */
    margin-bottom: 0.5rem; /* Space between individual list items */
}

/* Remove bottom margin from the last list item to prevent extra space */
.trustPillarUnit li:last-child {
    margin-bottom: 0;
}


.footer-support-logos .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wr{
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    main{
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex: 1;
    }
}