/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Shojumaru&family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #155799;
    --secondary-color: #159957;
    --text-color: #333;
    --white: #fff;
    --light-bg: #edf1f7;
    --max-width: 1000px;
    --gradient: linear-gradient(to right, #155799, #159957);
    --button-gradient: linear-gradient(to right, #f5af19, #f12711);
    --button-gradient-hover: linear-gradient(to right, #f12711, #f5af19);
    --title-font: 'Shojumaru', cursive;
    --body-font: 'Noto Sans Thai', sans-serif;
}

body {
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    background-color: var(--white);
}

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

.header {
    background: var(--gradient);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.header__logo {
    height: 75px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-nav {
    margin-left: 4rem;
    gap: 0.8rem;
}

.nav-link {
    color: var(--white) !important;
    padding: 0.5rem 1.5rem !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.nav-link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.header__search {
    margin-left: 1rem;
}

.header__search-btn {
    background: none;
    border: none;
    color: var(--white);
    padding: 0.6rem;
    cursor: pointer;
    font-size: 1.1rem;
}

.header__search-btn:hover {
    opacity: 0.8;
}

.navbar-toggler {
    padding: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #157879;
        padding: 1rem;
        z-index: 1000;
    }

    .navbar-nav {
        margin-left: 0;
    }

    .header__search {
        margin: 0;
        position: absolute;
        right: 4rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

.platform-list {
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.platform-grid {
    display: grid;
    grid-template-columns: 200px 1fr 120px 150px;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.platform-list__header {
    background: #E3F2FD; 
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    color: #1976D2; 
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.1);
    border: 1px solid rgba(25, 118, 210, 0.1);
}

.platform-list__header .platform-grid > div {
    padding: 0 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.platform-list__header .platform-grid > div:nth-child(3) {
    text-align: center;
}

.platform-list__header .platform-grid > div:last-child {
    text-align: center;
}

.platform-item {
    background: var(--white);
    border-radius: 4px;
    margin-bottom: 1rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.platform-item .platform-grid > div {
    padding: 0 10px;
}

.platform-logo {
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-item__logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.platform-item__rating {
    text-align: center;
    color: #ffd700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.platform-item__button-wrapper {
    text-align: right;
}

.platform-item__button {
    background: var(--button-gradient);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-block;
    width: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(241, 39, 17, 0.2);
}

.platform-item__button:hover {
    background: var(--button-gradient-hover);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 39, 17, 0.3);
}

.certifications {
    padding: 2rem 0;
    text-align: center;
}

.certifications img {
    height: 50px;
    margin: 0 1rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    padding: 1rem 0;
}

.news-section {
    padding: 2rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.news-item {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item__image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%; 
    overflow: hidden;
}

.news-item__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item__image {
    transform: scale(1.05);
}

.news-item__content {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-item__title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
    margin: 0;
}

.uncategorized-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--button-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(241, 39, 17, 0.3);
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-item__image-wrapper {
        padding-top: 56.25%; 
    }
}

.header .navbar-nav {
    margin-left: 2rem;
}

.header .nav-link {
    color: var(--white);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.header .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.header__search {
    margin-left: auto;
}

.header__search-btn {
    background: none;
    border: none;
    color: var(--white);
    padding: 0.5rem;
    cursor: pointer;
}

.header__search-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer {
    background: var(--gradient);
    padding: 3rem 0;
 /*  margin-top: 4rem; */
    position: relative;
}

.footer::before {
    display: none;
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.footer__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 1rem 0;
}

.footer__logo-item {
    padding: 0.8rem;
    transition: transform 0.2s ease;
}

.footer__logo-item:hover {
    transform: translateY(-2px);
}

.footer__logo {
    height: 80px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer__logo:hover {
    opacity: 1;
}

.footer__info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer__nav {
    width: 100%;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 2px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
    }

    .footer__logos {
        gap: 3rem;
    }

    .footer__logo {
        height: 70px;
    }

    .footer__info {
        padding: 1.5rem 1rem;
    }

    .footer__links {
        flex-direction: column;
        align-items: stretch;
    }

    .footer__button {
        text-align: center;
    }
}

section {
    padding: 2rem 0;
}

.hero {
    background: var(--gradient);
    padding: 3rem 0;
    margin-bottom: 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('path/to/pattern.png');
    opacity: 0.1;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__content h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero__content p {
    font-size: 1.2rem;
    color: var(--white);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero__content {
        padding: 2rem 1rem;
    }

    .hero__content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero__content p {
        font-size: 1rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .hero__content {
        padding: 1.5rem 1rem;
    }

    .hero__content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .hero__content p {
        font-size: 0.9rem;
    }
}

.platforms {
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.news-section {
    padding: 2rem 0;
    margin-top: 1rem;
}

.features {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f6f9fc 0%, #edf1f7 100%);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f6f9fc 0%, #edf1f7 100%);
}

.info-text {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.info-text p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.info-text p:last-child {
    margin-bottom: 0;
}

.info-warning {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(241, 39, 17, 0.1);
    border-radius: 4px;
    color: #f12711;
    font-size: 0.9rem;
    text-align: center;
}

.info-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.faq-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f6f9fc 0%, #edf1f7 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--button-gradient);
}

.faq-item p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--button-gradient);
    border-radius: 3px;
}

.features__grid,
.faq-grid,
.news-grid {
    margin-top: 1.5rem;
}

@media (max-width: 992px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features__grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card,
    .faq-item {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .info-text {
        padding: 1.5rem;
    }

    .info-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }
}

.main {
    min-height: 100vh;
    background: url('../img/back.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

.main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.main > * {
    position: relative;
    z-index: 2;
}

.features,
.info-section,
.faq-section {
    background: none;
}

.platform-item,
.news-item,
.feature-card,
.info-text,
.faq-item {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.platform-list__header {
    background: #E3F2FD; 
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    color: #1976D2; 
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.1);
    border: 1px solid rgba(25, 118, 210, 0.1);
}

.platform-list__header .platform-grid > div {
    padding: 0 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

@media (max-width: 992px) {
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .platform-list__header {
        display: none; 
    }

    .platform-item {
        padding: 1.2rem;
    }

    .platform-item .platform-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .platform-logo {
        width: 140px;
        height: 70px;
    }

    .platform-item__info {
        margin: 0.5rem 0;
    }

    .platform-item__info p {
        margin: 0.3rem 0;
    }

    .platform-item__info p:first-child {
        font-size: 1.1rem;
        font-weight: 500;
    }

    .platform-item__rating {
        font-size: 1.4rem;
        margin: 0.5rem 0;
    }

    .platform-item__button-wrapper {
        width: 100%;
        text-align: center;
    }

    .platform-item__button {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 576px) {
    .platform-item {
        padding: 1rem;
    }

    .platform-logo {
        width: 120px;
        height: 60px;
    }

    .platform-item__info p:first-child {
        font-size: 1rem;
    }

    .platform-item__rating {
        font-size: 1.2rem;
    }

    .platform-item__button {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
}

.platform-item__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.platform-item__features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    color: #1976D2;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(25, 118, 210, 0.1);
}

@media (max-width: 992px) {
    .platform-item__features {
        justify-content: center;
        margin: 0.5rem 0;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.25rem 0.7rem;
    }

    .platform-item__title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.navbar-brand:hover .header__logo {
    transform: scale(1.05);
}

.contact-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.contact-text p {
    color: #4a5568;
    margin: 0;
}

.contact-form {
    background: linear-gradient(135deg, #f6f9fc 0%, #edf1f7 100%);
    padding: 2rem;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(21, 87, 153, 0.1);
    outline: none;
}

.contact-submit {
    background: var(--button-gradient);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit:hover {
    background: var(--button-gradient-hover);
    transform: translateY(-2px);
}

.modal-content {
    border: none;
    border-radius: 4px;
    padding: 2rem;
}

.thank-you-icon {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    background: rgba(76, 175, 80, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.modal-body h2 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.modal-body p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.modal-close-btn {
    background: var(--button-gradient);
    color: var(--white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--button-gradient-hover);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .contact-info h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 2rem 0;
    }

    .contact-wrapper {
        padding: 1.5rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

.article-section {
    padding: 4rem 0;
}

.article-wrapper {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.article-header {
    padding: 2rem 3rem;
    text-align: center;
}

.article-category {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.article-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-meta {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.article-image-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.article-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .article-header {
        padding: 2rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-image-wrapper {
        height: 400px;
    }

    .article-content {
        padding: 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .article-section {
        padding: 2rem 0;
    }

    .article-header {
        padding: 1.5rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-image-wrapper {
        height: 300px;
    }

    .article-content {
        padding: 1.5rem;
    }
}

.news-item__link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.news-item__link:hover {
    color: inherit;
}

.risk-warning {
    background: rgba(241, 39, 17, 0.1);
    padding: 1.2rem;
    border-radius: 4px;
    margin-top: 2rem;
    border: 1px solid rgba(241, 39, 17, 0.2);
}

.risk-warning__text {
    color: #d32f2f;
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 768px) {
    .risk-warning {
        padding: 1rem;
    }
    
    .risk-warning__text {
        font-size: 0.9rem;
    }
}

.legal-section {
    padding: 4rem 0;
}

.legal-wrapper {
    background: var(--white);
    border-radius: 4px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.legal-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.legal-block {
    margin-bottom: 2.5rem;
}

.legal-block h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--button-gradient);
}

.legal-block p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.responsible-section {
    padding: 4rem 0;
}

.responsible-wrapper {
    background: var(--white);
    border-radius: 4px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.responsible-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.responsible-highlight {
    font-size: 1.2rem;
    color: #2d3748;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f6f9fc 0%, #edf1f7 100%);
    border-radius: 4px;
    font-weight: 500;
}

.responsible-block {
    margin-bottom: 3rem;
}

.responsible-block h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.responsible-block p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tool-card {
    background: linear-gradient(135deg, #f6f9fc 0%, #edf1f7 100%);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
}

.tool-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.advice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advice-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f6f9fc 0%, #edf1f7 100%);
    border-radius: 4px;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
}

.support-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.support-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f6f9fc 0%, #edf1f7 100%);
    border-radius: 4px;
}

.support-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.responsible-warning {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(241, 39, 17, 0.1);
    border-radius: 4px;
    text-align: center;
}

.responsible-warning p {
    color: #d32f2f;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 992px) {
    .tools-grid,
    .support-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .legal-wrapper,
    .responsible-wrapper {
        padding: 2rem;
    }

    .tools-grid,
    .support-info {
        grid-template-columns: 1fr;
    }

    .responsible-highlight {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
}

.global-warning {
    background: rgba(241, 39, 17, 0.1);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(241, 39, 17, 0.2);
    position: relative;
    z-index: 999;
    margin-bottom: 2rem;
}

.global-warning__text {
    color: #d32f2f;
    font-size: 1rem;
    text-align: center;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .global-warning {
        padding: 0.8rem 0;
    }
    
    .global-warning__text {
        font-size: 0.9rem;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 400px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.cookie-banner.hidden {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner__title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.cookie-banner__text {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-banner__buttons {
    display: flex;
    gap: 1rem;
}

.cookie-banner__button {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    flex: 1;
}

.cookie-banner__button--accept {
    background: var(--button-gradient);
    color: var(--white);
}

.cookie-banner__button--accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 39, 17, 0.2);
}

.cookie-banner__button--decline {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.cookie-banner__button--decline:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .cookie-banner {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    .cookie-banner__buttons {
        flex-direction: column;
    }
}

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.age-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.age-modal__content {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.age-modal.hidden .age-modal__content {
    transform: translateY(20px);
}

.age-modal__title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.age-modal__text {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.age-modal__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.age-modal__button {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.age-modal__button--confirm {
    background: var(--button-gradient);
    color: var(--white);
}

.age-modal__button--confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 39, 17, 0.2);
}

.age-modal__button--decline {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.age-modal__button--decline:hover {
    background: #e2e8f0;
}

@media (max-width: 576px) {
    .age-modal__content {
        padding: 1.5rem;
    }
    
    .age-modal__title {
        font-size: 1.3rem;
    }
    
    .age-modal__text {
        font-size: 1rem;
    }
}

h1, h2, h3, h4, h5, h6,
.nav-link,
.platform-item__title,
.section-title,
.hero__content h1,
.feature-card h3,
.cookie-banner__title,
.age-modal__title,
.legal-title,
.responsible-title {
    font-family: var(--title-font);
    font-weight: normal; 
}

p, span, a, button, input, textarea, li {
    font-family: var(--body-font);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.platform-item__title {
    font-size: 1.3rem;
}

.nav-link {
    font-size: 1.1rem !important;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .platform-item__title {
        font-size: 1.1rem;
    }
    
    .nav-link {
        font-size: 1rem !important;
    }
} 