/* Custom CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a2e;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: #e94560;
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

p {
    margin-bottom: 1em;
}

a {
    color: #0f3460;
    text-decoration: none;
}

a:hover {
    color: #e94560;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    color: inherit;
    font: inherit;
}

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

.section-padding {
    padding: 80px 0;
}

.section-alt-bg {
    background-color: #0f3460;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: #e94560;
    text-transform: uppercase;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e94560, #e0e0e0);
    margin: 15px auto 0;
}

/* Material Symbols Icons */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
    vertical-align: middle;
    margin-right: 5px;
}

/* Header */
.header {
    background-color: #16213e;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.logo-link {
    display: flex;
    align-items: center;
    color: #e0e0e0;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}

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

.site-name {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 25px;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.nav-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.nav-link {
    color: #e0e0e0;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover {
    color: #e94560;
}

.burger-menu-toggle {
    display: none;
    font-size: 2rem;
    color: #e0e0e0;
    background-color: transparent;
    border: none;
    padding: 5px;
}

/* Hero Section */
.hero-banner {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

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

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

.company-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 10px;
    color: #e0e0e0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.digest-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: #e94560;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.digest-date {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.8;
}

/* Article Card Base */
.article-card {
    background-color: #16213e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card .article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.article-card .article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card .article-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 10px;
    color: #e94560;
}

.article-card .article-summary {
    font-size: 0.95rem;
    color: #b0b0b0;
    flex-grow: 1;
    margin-bottom: 15px;
}

.article-metrics {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #888;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Featured Article */
.featured-card {
    flex-direction: row;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.featured-card .article-image {
    width: 40%;
    height: auto;
    min-height: 250px;
}

.featured-card .article-content {
    width: 60%;
}

/* About Us Section */
.about-us-section {
    background-color: #1a1a2e;
}

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

.about-image-wrapper {
    flex: 1;
    min-width: 300px;
}

.about-image {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-text-wrapper {
    flex: 2;
    min-width: 300px;
}

.about-text-wrapper h3 {
    color: #e0e0e0;
    margin-top: 20px;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.advantages-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.advantages-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #b0b0b0;
}

.advantages-list li::before {
    content: '\2713'; /* Checkmark icon */
    color: #e94560;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.read-more-btn {
    display: inline-block;
    background: linear-gradient(90deg, #e94560, #0f3460);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    margin-top: 15px;
    align-self: flex-start;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.read-more-btn:hover {
    background: linear-gradient(90deg, #0f3460, #e94560);
}

/* History, Where to Play, Rarities, Guides Grids */
.history-grid, .where-to-play-grid, .rarities-grid, .guides-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px;
}

.history-item, .play-option-card, .rarity-card, .guide-card {
    background-color: #16213e;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.history-item img, .play-option-card img, .rarity-card img, .guide-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.history-item h3, .play-option-card h3, .rarity-card h3, .guide-card h3 {
    color: #e94560;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 15px;
}

.history-item p, .play-option-card p, .rarity-card p, .guide-card p {
    font-size: 0.95rem;
    color: #b0b0b0;
    flex-grow: 1;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: #16213e;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

.avatar-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-content h4 {
    color: #e94560;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.review-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.review-content p {
    font-size: 0.95rem;
    color: #b0b0b0;
}

/* Contact Section */
.contact-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 280px;
    background-color: #16213e;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 30px;
}

.contact-info h3 {
    color: #e94560;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #e0e0e0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.contact-info .material-symbols-outlined {
    margin-right: 10px;
    color: #e94560;
}

.contact-link {
    color: #e0e0e0;
}

.contact-link:hover {
    color: #e94560;
}

.email-break {
    word-break: break-all;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background-color: #16213e;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 30px;
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #0f3460;
    border-radius: 5px;
    background-color: #0a1128;
    color: #e0e0e0;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.3);
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #e94560, #0f3460);
    color: #fff;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

.submit-button:hover {
    background: linear-gradient(90deg, #0f3460, #e94560);
}

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

.success-message {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

.hidden {
    display: none;
}

/* Footer */
.newsletter-footer {
    background-color: #16213e;
    color: #e0e0e0;
    padding: 60px 0 30px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-logo-area, .footer-newsletter-area, .footer-links-area {
    flex: 1;
    min-width: 250px;
}

.footer-logo-area .logo-link {
    margin-bottom: 15px;
}

.footer-logo-area .site-name {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

.copyright {
    font-size: 0.9rem;
    color: #888;
    margin-top: 20px;
}

.footer-newsletter-area h3, .footer-links-area h3 {
    color: #e94560;
    margin-bottom: 20px;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.footer-newsletter-area p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #b0b0b0;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.email-input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #0f3460;
    border-radius: 5px;
    background-color: #0a1128;
    color: #e0e0e0;
    font-size: 1rem;
    min-width: 180px;
}

.email-input::placeholder {
    color: #888;
}

.newsletter-form .submit-button {
    flex-shrink: 0;
    width: auto;
    padding: 12px 20px;
    font-size: 1rem;
}

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

.footer-links-area a {
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-links-area a:hover {
    color: #e94560;
}

/* Modals */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 60px; /* Location of the box */
}

.modal-content {
    background-color: #1a1a2e;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
    max-height: 85vh;
    overflow-y: auto;
}

.modal-content h2 {
    color: #e94560;
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

.modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-article-text h3 {
    color: #e0e0e0;
    margin-top: 20px;
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
}

.modal-article-text p {
    color: #b0b0b0;
    margin-bottom: 15px;
}

.modal-article-text ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: #b0b0b0;
}

.modal-article-text ul li {
    margin-bottom: 5px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #e0e0e0;
    font-size: 2rem;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: #e94560;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background-color: #16213e;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    padding: 25px;
    z-index: 1500;
    color: #e0e0e0;
}

.cookie-banner h3 {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.cookie-banner p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #b0b0b0;
}

.cookie-banner a {
    color: #e94560;
    text-decoration: underline;
}

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

.cookie-button {
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

#accept-all-cookies {
    background: linear-gradient(90deg, #e94560, #0f3460);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#accept-all-cookies:hover {
    background: linear-gradient(90deg, #0f3460, #e94560);
}

.cookie-button-secondary {
    background-color: #0f3460;
    color: #e0e0e0;
    border: 1px solid #e94560;
}

.cookie-button-secondary:hover {
    background-color: #e94560;
    color: #fff;
}

/* Cookie Settings Modal */
.cookie-settings-modal-content {
    z-index: 2001; /* Higher than main modal */
}

.cookie-settings-modal-content h2 {
    margin-bottom: 10px;
}

.cookie-settings-modal-content > p {
    margin-bottom: 30px;
    color: #b0b0b0;
}

.cookie-category {
    background-color: #0f3460;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-header h4 {
    color: #e0e0e0;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.cookie-category input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e94560;
    border-radius: 4px;
    background-color: #1a1a2e;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.cookie-category input[type="checkbox"]:checked {
    background-color: #e94560;
    border-color: #e94560;
}

.cookie-category input[type="checkbox"]:checked::after {
    content: '\2713'; /* Checkmark */
    font-size: 14px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cookie-category input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-actions {
    margin-top: 30px;
    text-align: right;
}

#save-cookie-settings {
    background: linear-gradient(90deg, #e94560, #0f3460);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

#save-cookie-settings:hover {
    background: linear-gradient(90deg, #0f3460, #e94560);
}

/* Responsive Styles */
@media (max-width: 1300px) {
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 1100px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: #16213e;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        z-index: 999;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
        overflow-x: hidden;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .burger-menu-toggle {
        display: block;
    }

    .site-name {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .hero-banner {
        height: 450px;
    }

    .company-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .digest-title {
        font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    }

    .featured-card {
        flex-direction: column;
        text-align: center;
    }

    .featured-card .article-image {
        width: 100%;
        height: 200px;
    }

    .featured-card .article-content {
        width: 100%;
    }

    .about-content-wrapper {
        flex-direction: column;
    }

    .about-image-wrapper, .about-text-wrapper {
        min-width: unset;
        width: 100%;
    }

    .articles-grid, .history-grid, .where-to-play-grid, .rarities-grid, .guides-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-content-wrapper {
        flex-direction: column;
    }

    .contact-info, .contact-form {
        min-width: unset;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo-area, .footer-newsletter-area, .footer-links-area {
        min-width: unset;
        width: 100%;
    }

    .footer-newsletter-area .newsletter-form {
        justify-content: center;
    }

    .footer-links-area ul {
        padding: 0;
    }

    .cookie-banner {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 10px;
    }

    .modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 90vh;
    }

    .site-name {
        font-size: 1.25rem; /* Max 20px */
    }

    h1 {
        font-size: clamp(1.5rem, 5vw, 2.5rem); /* Adjusted for mobile */
    }

    h2 {
        font-size: clamp(1.25rem, 4vw, 2rem); /* Adjusted for mobile */
    }

    h3 {
        font-size: clamp(1.1rem, 3.5vw, 1.8rem); /* Adjusted for mobile */
    }
}/* Styles for the main content wrapper */
.regShieldWrap {
    /* Padding for the top and sides of the content area */
    padding: 2rem 1.5rem;
}

/* Heading 1 styles */
.regShieldWrap h1 {
    font-size: 2.2rem; /* Moderate font size for h1 */
    line-height: 1.2;
    margin-top: 1.5rem; /* Top margin to separate from previous content */
    margin-bottom: 0.8rem; /* Bottom margin to separate from following content */
    font-weight: bold;
}

/* Heading 2 styles */
.regShieldWrap h2 {
    font-size: 1.8rem; /* Moderate font size for h2 */
    line-height: 1.3;
    margin-top: 1.3rem;
    margin-bottom: 0.7rem;
    font-weight: bold;
}

/* Heading 3 styles */
.regShieldWrap h3 {
    font-size: 1.5rem; /* Moderate font size for h3 */
    line-height: 1.4;
    margin-top: 1.1rem;
    margin-bottom: 0.6rem;
    font-weight: bold;
}

/* Heading 4 styles */
.regShieldWrap h4 {
    font-size: 1.2rem; /* Moderate font size for h4 */
    line-height: 1.5;
    margin-top: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* Heading 5 styles */
.regShieldWrap h5 {
    font-size: 1rem; /* Font size similar to paragraph, but bold */
    line-height: 1.6;
    margin-top: 0.7rem;
    margin-bottom: 0.4rem;
    font-weight: bold;
}

/* Paragraph styles */
.regShieldWrap p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.6; /* Good line height for readability */
    margin-bottom: 1rem; /* Space between paragraphs */
}

/* Unordered list styles */
.regShieldWrap ul {
    list-style: disc; /* Default disc bullet points */
    padding-left: 1.5rem; /* Indent for bullet points */
    margin-top: 0.5rem; /* Small top margin for lists */
    margin-bottom: 1rem; /* Space after the list */
}

/* List item styles */
.regShieldWrap li {
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Space between individual list items */
}
