/* Основные переменные */
:root {
    --primary-blue: #1a4b8c;
    --secondary-blue: #2a7fba;
    --accent-teal: #3ab7bf;
    --accent-gold: #f5b349;
    --light-blue: #e6f0f7;
    --white: #ffffff;
    --dark-navy: #0a2342;
    --wave-animation: wave 12s linear infinite;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    src: local("Poppins"),
        url("../fonts/Poppins/Poppins-Light.woff") format("woff");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    src: local("Poppins"),
        url("../fonts/Poppins/Poppins-Regular.woff") format("woff");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    src: local("Poppins"),
        url("../fonts/Poppins/Poppins-SemiBold.woff") format("woff");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    src: local("Poppins"),
        url("../fonts/Poppins/Poppins-Bold.woff") format("woff");
}


/* Основные стили */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-navy);
    background-color: var(--light-blue);
    margin: 0;
    overflow-x: hidden;
}

.wave-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/wave-bg.svg') repeat-x;
    background-size: 2000px 100%;
    animation: var(--wave-animation);
    z-index: 1;
    opacity: 0.1;
}

.highlight {
    color: var(--accent-teal);
    font-weight: 700;
}

/* Навигация */
.main-nav {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    /* color: var(--primary-blue); */
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    position: relative;
    white-space: nowrap;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-teal);
    transition: width 0.3s;
}

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

.nav-cta {
    background-color: var(--accent-teal);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 20px;
}

.nav-cta:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ==================== HEADER STYLES ==================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 75, 140, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.main-header:hover {
    background: rgba(26, 75, 140, 0.98);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: rotate(-5deg);
}

/* .wave-logo-decoration {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 15px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 30" xmlns="http://www.w3.org/2000/svg"><path d="M0,15 C150,25 350,5 600,15 C850,25 1050,5 1200,15 L1200,30 L0,30 Z" fill="%233ab7bf"/></svg>') repeat-x;
    background-size: 200px 15px;
    opacity: 0.7;
    animation: waveMove 5s linear infinite;
} */

/* Навигационные ссылки */
.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    overflow: hidden;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.link-icon {
    margin-right: 10px;
    font-size: 1.1rem;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.link-text {
    position: relative;
    z-index: 2;
}

.link-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(58, 183, 191, 0.3), rgba(245, 179, 73, 0.2));
    clip-path: polygon(0% 100%, 100% 100%, 100% 90%, 0% 90%);
    transition: all 0.4s ease;
    opacity: 0;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover .link-wave {
    clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 0%);
    opacity: 1;
}

.nav-link:hover .link-icon {
    transform: rotate(15deg);
    color: var(--accent-teal);
}

/* Кнопка CTA */
.header-cta {
    position: relative;
    background: linear-gradient(to right, var(--accent-teal), var(--accent-gold));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(58, 183, 191, 0.4);
}

.cta-text {
    position: relative;
    z-index: 2;
}

.cta-icon {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.cta-wave {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/></svg>') repeat;
    opacity: 0.3;
    transform: rotate(10deg);
    transition: all 0.5s ease;
}

.header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(58, 183, 191, 0.6);
}

.header-cta:hover .cta-wave {
    transform: rotate(25deg) translateX(10px);
}

.header-cta:hover .cta-icon {
    transform: rotate(360deg);
}

/* Бургер-меню в виде штурвала */
.wheel-menu {
    display: none;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    position: relative;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.wheel {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.wheel-spoke {
    position: absolute;
    width: 100%;
    height: 4px;
    background: white;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.wheel-spoke:before,
.wheel-spoke:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
}

.wheel-spoke:before {
    transform: rotate(60deg);
}

.wheel-spoke:after {
    transform: rotate(120deg);
}

.wheel-menu:hover .wheel {
    transform: rotate(180deg);
}

/* Водяная линия под хедером */
/* Контейнер для водной линии */
.header-waterline {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 30px;
    overflow: hidden;
    z-index: 1;
}

.section-header .header-waterline {
    width: calc(100% + 200px);
    left: -100px;
}

.about-section .header-waterline,
.demo-section .header-waterline,
.how-section .header-waterline,
.contact-section .header-waterline,
.featured-games-section .header-waterline,
.mechanics-section .header-waterline,
.comparison-section .header-waterline {
    transform: rotate(180deg);
    bottom: auto;
    top: 0px;
}

.testimonials-section,
.contact-section,
.featured-games-section,
.mechanics-section{
    position: relative;
}
.featured-games-section,
.mechanics-section {
    padding: 50px 0px;
}

.testimonials-section .header-waterline{
    bottom: auto;
    top: 0px;
    transform: translateY(-100%);
}

/* Контейнер для волн с бесконечной шириной */
.water-waves-container {
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    min-width: 100vw; /* Всегда шире экрана */
}

/* Базовые стили волны */
.water-wave {
    position: absolute;
    left: 0;
    width: 200vw; /* В 2 раза шире экрана */
    height: 100%;
    background-repeat: repeat-x;
    background-size: 1200px 100%;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Индивидуальные стили для каждого слоя волн */
.water-wave-1 {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 30" xmlns="http://www.w3.org/2000/svg"><path d="M0,15 C150,25 350,5 600,15 C850,25 1050,5 1200,15 L1200,30 L0,30 Z" fill="%233ab7bf"/></svg>');
    animation: waveMove 15s infinite;
    opacity: 0.8;
    bottom: 0;
}

.water-wave-2 {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 30" xmlns="http://www.w3.org/2000/svg"><path d="M0,20 C200,10 400,30 600,20 C800,10 1000,30 1200,20 L1200,30 L0,30 Z" fill="%231a4b8c"/></svg>');
    animation: waveMove 12s infinite reverse;
    opacity: 0.4;
    bottom: 0px;
}

.water-wave-3 {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 30" xmlns="http://www.w3.org/2000/svg"><path d="M0,10 C300,30 500,0 800,10 C1100,30 1200,0 1200,10 L1200,30 L0,30 Z" fill="%23f5b349"/></svg>');
    animation: waveMove 18s infinite;
    opacity: 0.2;
    bottom: 0px;
}

/* Анимация движения волн */
@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Анимация появления */
.main-header {
    transform: translateY(-100%);
    opacity: 0;
    animation: headerSlideIn 0.8s forwards 0.5s;
}

@keyframes headerSlideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Games Page Specific Styles */
.games-hero {
    background: linear-gradient(135deg, rgba(26,75,140,0.95) 0%, rgba(42,127,186,0.95) 100%);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.games-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff 0%, #f5b349 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.games-hero .subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    margin: 0 auto 40px;
}

.compass-decoration {
    position: absolute;
    top: 50%;
    left: 10%;
    font-size: 5rem;
    color: rgba(245, 179, 73, 0.1);
    animation: spin 30s linear infinite;
    transform-origin: center;
}

/* Games Grid Layout */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}


.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-gold);
    color: var(--dark-navy);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
}

.game-preview {
    position: relative;
    overflow: hidden;
}

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



.game-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.game-stats i {
    margin-right: 5px;
    color: var(--accent-teal);
}

.game-skills {
    display: flex;
    gap: 8px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.skill-tag {
    background: rgba(58,183,191,0.2);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.game-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-small.outline {
    background: transparent;
    border: 1px solid white;
}

.btn-small.outline:hover {
    background: rgba(255,255,255,0.2);
}

.game-difficulty {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.game-difficulty i {
    color: var(--accent-gold);
}

.game-difficulty.beginner i:nth-child(n+2),
.game-difficulty.intermediate i:nth-child(n+3) {
    color: rgba(255,255,255,0.3);
}

.game-difficulty.pvp i {
    color: var(--accent-teal);
}

/* Game Filters */
.game-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-blue);
    color: white;
}

/* SEO Block */
.seo-block-section {
    background: linear-gradient(to bottom, #f8fbfe 0%, #e6f0f7 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.seo-content h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.seo-benefits {
    text-align: left;
    max-width: 600px;
    margin: 30px auto;
    list-style: none;
    padding: 0;
}

.seo-benefits li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.seo-benefits i {
    color: var(--accent-teal);
    margin-right: 10px;
}

.seo-cta {
    margin-top: 40px;
}

.seo-cta p {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

.ship-silhouette {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 200px;
    opacity: 0.1;
    animation: sail 15s ease-in-out infinite;
}

/* How It Works Page Specific Styles */
.how-hero {
    background: linear-gradient(135deg, rgba(26,75,140,0.95) 0%, rgba(42,127,186,0.95) 100%);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.how-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff 0%, #f5b349 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.how-hero .subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    margin: 0 auto 40px;
}

/* Mechanics Steps */
.mechanics-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.mechanics-steps .step-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    z-index: 1;
}

.mechanics-steps .step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.mechanics-steps .step-number {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(26,75,140,0.1);
}

.mechanics-steps .step-icon {
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mechanics-steps .step-icon i {
    font-size: 4rem;
    color: var(--primary-blue);
}

.mechanics-steps .step-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.mechanics-steps .step-card p {
    color: var(--dark-navy);
    opacity: 0.8;
    line-height: 1.6;
}

.mechanics-steps .step-decoration {
    position: absolute;
    opacity: 0.1;
    z-index: -1;
}

.wave-deco {
    bottom: 0;
    right: 0;
    width: 100px;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 30" xmlns="http://www.w3.org/2000/svg"><path d="M0,15 C150,25 350,5 600,15 C850,25 1050,5 1200,15 L1200,30 L0,30 Z" fill="%233ab7bf"/></svg>') no-repeat;
}

.anchor-deco {
    top: 10px;
    right: 10px;
    font-size: 3rem;
    color: var(--accent-teal);
}

.fish-deco {
    bottom: 10px;
    left: 10px;
    width: 40px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 56 24" xmlns="http://www.w3.org/2000/svg"><path d="M56 12C42 22 28 24 14 12C28 0 42 2 56 12Z" fill="%23f5b349"/></svg>') no-repeat;
}

.star-deco {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: var(--accent-gold);
}

/* Physics Section */
.physics-section {
    background: linear-gradient(to bottom, #f8fbfe 0%, #e6f0f7 100%);
    padding: 100px 0;
    position: relative;
}

.physics-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.physics-text {
    flex: 1;
}

.physics-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.physics-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-navy);
    margin-bottom: 40px;
}

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

.factor {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.factor i {
    font-size: 2rem;
    color: var(--accent-teal);
    margin-bottom: 15px;
}

.factor h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.factor p {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.physics-visual {
    flex: 1;
    position: relative;
}

.physics-demo {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: relative;
}

.physics-demo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.demo-tooltip {
    position: absolute;
    background: var(--accent-teal);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.demo-tooltip.pulse {
    animation: pulse 1.5s infinite;
}

.tooltip-arrow {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-teal);
    transform: rotate(45deg);
}

.demo-tooltip:nth-child(1) .tooltip-arrow {
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
}

.demo-tooltip:nth-child(2) .tooltip-arrow {
    top: -5px;
    left: 50%;
    margin-left: -5px;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    transform: rotate(180deg);
    z-index: 1;
}

.wave-decoration svg {
    width: 100%;
    height: 100%;
}

/* Comparison Section */
.comparison-section {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.comparison-card {
    border-radius: 15px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.skill-card {
    background: linear-gradient(to bottom right, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.luck-card {
    background: linear-gradient(to bottom right, #f8f9fa, #e9ecef);
    color: var(--dark-navy);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.card-header i {
    font-size: 2rem;
    margin-right: 15px;
}

.card-header h3 {
    font-size: 1.8rem;
}

.skill-card .card-header i {
    color: var(--accent-gold);
}

.luck-card .card-header i {
    color: var(--primary-blue);
}

.card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.card-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.card-features i {
    margin-right: 10px;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.skill-card .card-features i {
    color: var(--accent-teal);
}

.luck-card .card-features i {
    color: #dc3545;
}

.card-illustration {
    text-align: center;
}

.card-illustration img {
    max-width: 200px;
    height: auto;
}

/* Dark SEO Block */
.seo-block-section.dark {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
}

.seo-block-section.dark h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 30px;
}

.seo-block-section.dark p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
}

.testimonial-box {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
    margin: 40px auto;
    max-width: 600px;
    display: flex;
    gap: 20px;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--accent-teal);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text p {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-text p:before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-teal);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -15px;
}

.testimonial-author {
    font-size: 0.9rem;
}

.testimonial-author strong {
    display: block;
    color: white;
    font-size: 1.1rem;
}

.testimonial-author span {
    opacity: 0.8;
}

.seo-cta-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--accent-gold);
}

.ship-wheel-decoration {
    position: absolute;
    bottom: 10%;
    right: 10%;
    font-size: 8rem;
    color: rgba(255,255,255,0.05);
    animation: spin 30s linear infinite;
}


/* Final CTA */
.final-cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.final-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final-cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.final-cta-section .cta-buttons {
    justify-content: center;
}

.final-cta-section .btn-secondary {
    color: white !important;
}

/* FAQ Page Specific Styles */
.faq-hero {
    background: linear-gradient(135deg, rgba(26,75,140,0.95) 0%, rgba(42,127,186,0.95) 100%);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.faq-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff 0%, #f5b349 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-hero .subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 40px;
}

.search-box {
    max-width: 600px;
    margin: 40px auto 0;
    position: relative;
    display: flex;
}

.search-box input {
    width: 100%;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-teal);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box button:hover {
    background: var(--primary-blue);
    transform: scale(1.05);
}

/* FAQ Categories */
.faq-categories {
    padding: 60px 0;
    background: linear-gradient(to bottom, #f8fbfe 0%, #e6f0f7 100%);
}

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

.category-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    color: var(--primary-blue);
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.category-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-teal);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.category-card p {
    color: var(--dark-navy);
    opacity: 0.8;
    font-size: 1rem;
}

/* Main FAQ Section */
.main-faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-category {
    margin-bottom: 60px;
}

.faq-category h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-category h2 i {
    color: var(--accent-teal);
}

.faq-accordion {
    border-radius: 15px;
    overflow: hidden;
}

.faq-item {
    margin-bottom: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    border: none;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    /* max-height: 0; */
    overflow: hidden;
    /* transition: max-height 0.3s ease; */
    padding: 0 25px;
    background: rgba(230,240,247,0.5);
}

.faq-answer p {
    padding: 20px 0;
    color: var(--dark-navy);
    line-height: 1.8;
}

.highlight-match {
    background-color: var(--accent-gold);
    padding: 0 3px;
    border-radius: 3px;
}

/* SEO Block */
.seo-block-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26,75,140,0.95) 0%, rgba(42,127,186,0.95) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.seo-block-section h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: white !important;
    text-align: center;
}

.seo-block-section p {
    font-size: 1.1rem;
    color: white !important;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.comparison-table {
    max-width: 800px;
    margin: 40px auto;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: rgba(255,255,255,0.2);
    font-weight: 700;
}

.comparison-cell {
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.comparison-cell i {
    font-size: 1.2rem;
}

.seo-cta {
    text-align: center;
    margin-top: 40px;
}

.seo-cta p {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.lighthouse-decoration {
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 150px;
    opacity: 0.1;
}

/* Contact Help */
.contact-help-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fbfe 0%, #e6f0f7 100%);
}

.help-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.help-card i {
    font-size: 3rem;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.help-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.help-card p {
    color: var(--dark-navy);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Blog Page Specific Styles */
.blog-hero {
    background: linear-gradient(135deg, rgba(26,75,140,0.95) 0%, rgba(42,127,186,0.95) 100%);
    padding: 180px 0 80px;
    position: relative;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    color: white;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.3;
}

.blog-hero .highlight {
    color: var(--accent-gold);
}

.breadcrumbs {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--accent-teal);
    text-decoration: none;
}

.breadcrumbs span {
    opacity: 0.7;
}

.meta-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-top: 30px;
}

.meta-info i {
    margin-right: 5px;
    color: var(--accent-gold);
}

/* Article Content */
.blog-article {
    padding: 80px 0;
    background-color: white;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-image {
    margin-bottom: 50px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-navy);
    opacity: 0.7;
    margin-top: 10px;
}

.article-section {
    margin-bottom: 60px;
}

.article-section h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    line-height: 1.4;
}

.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
    background: linear-gradient(to right, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.casino-side, .prizeport-side {
    padding: 20px;
    border-radius: 10px;
}

.casino-side {
    background: rgba(220,53,69,0.1);
    border-left: 4px solid #dc3545;
}

.prizeport-side {
    background: rgba(25,135,84,0.1);
    border-left: 4px solid #198754;
}

.casino-side h3, .prizeport-side h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.casino-side ul, .prizeport-side ul {
    list-style: none;
    padding: 0;
}

.casino-side li, .prizeport-side li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.casino-side i {
    color: #dc3545;
}

.prizeport-side i {
    color: #198754;
}

blockquote {
    border-left: 4px solid var(--accent-teal);
    padding-left: 30px;
    margin: 40px 0;
    font-style: italic;
    color: var(--dark-navy);
}

blockquote footer {
    font-style: normal;
    font-weight: 600;
    margin-top: 15px;
    color: var(--primary-blue);
}

/* Transparency Grid */
.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.transparency-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-box i {
    font-size: 1.8rem;
    color: var(--accent-teal);
}

.transparency-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.feedback-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.feedback-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.feedback-list i {
    color: var(--accent-teal);
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

/* Phrase Comparison */
.phrase-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.phrase-card {
    padding: 25px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.phrase-card.negative {
    background: rgba(220,53,69,0.1);
    border-left: 4px solid #dc3545;
}

.phrase-card.positive {
    background: rgba(25,135,84,0.1);
    border-left: 4px solid #198754;
}

.phrase-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.phrase-card p {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.phrase-card i {
    margin-top: 3px;
}

.physics-demo {
    margin: 50px 0;
    text-align: center;
}

.physics-demo img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.demo-caption {
    font-size: 0.9rem;
    color: var(--dark-navy);
    opacity: 0.7;
    margin-top: 10px;
}

/* Conclusion */
.conclusion {
    background: linear-gradient(to bottom right, var(--light-blue), white);
    padding: 40px;
    border-radius: 15px;
    margin-top: 60px;
}

.key-takeaways {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.key-takeaways h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
}

.key-takeaways li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.key-takeaways i {
    color: var(--accent-teal);
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

.article-cta {
    text-align: center;
    margin-top: 50px;
}

.article-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 30px;
    margin: 80px 0;
    padding: 30px;
    background: linear-gradient(to bottom right, #f8fbfe, #e6f0f7);
    border-radius: 15px;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--accent-teal);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-teal);
}

/* Related Articles */
.related-articles {
    margin: 80px 0 40px;
}

.related-articles h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
}

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

.article-card {
    text-decoration: none;
    color: var(--dark-navy);
    transition: transform 0.3s;
    display: block;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.article-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.read-time {
    font-size: 0.9rem;
    color: var(--primary-blue);
    opacity: 0.8;
}

/* Newsletter */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

.newsletter-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.newsletter-text h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.newsletter-text p {
    color: var(--dark-navy);
    opacity: 0.8;
}

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

.newsletter-form input {
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid #ddd;
    min-width: 300px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--accent-teal);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--primary-blue);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .comparison-box {
        grid-template-columns: 1fr;
    }
    
    .newsletter-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-form input {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.2rem;
    }
    
    .article-section h2 {
        font-size: 1.8rem;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .meta-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .transparency-grid, .phrase-comparison {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        padding: 15px;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .faq-hero h1 {
        font-size: 2.5rem;
    }
    
    .faq-hero .subtitle {
        font-size: 1.2rem;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-row.header {
        display: none;
    }
    
    .comparison-cell {
        justify-content: flex-start;
        text-align: left;
        padding: 15px;
    }
    
    .comparison-cell:first-child {
        background: rgba(255,255,255,0.1);
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        padding: 120px 0 80px;
    }
    
    .search-box input {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .faq-category h2 {
        font-size: 1.5rem;
    }
    
    .help-card {
        padding: 30px 20px;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .physics-content {
        flex-direction: column;
    }
    
    .physics-text, .physics-visual {
        width: 100%;
    }
    
    .comparison-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .how-hero h1 {
        font-size: 2.5rem;
    }
    
    .mechanics-steps {
        grid-template-columns: 1fr;
    }
    
    .testimonial-box {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-text p:before {
        left: -5px;
    }
}

@media (max-width: 480px) {
    .how-hero {
        padding: 120px 0 80px;
    }
    
    .how-hero h1 {
        font-size: 2rem;
    }
    
    .physics-factors {
        grid-template-columns: 1fr;
    }
    
    .demo-tooltip {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .games-hero h1 {
        font-size: 2.5rem;
    }
    
    .games-hero .subtitle {
        font-size: 1.2rem;
    }
    
    .game-card.featured {
        grid-column: span 1;
    }
    
    .game-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .games-hero {
        padding: 120px 0 80px;
    }
    
    .games-hero h1 {
        font-size: 2rem;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

/* Адаптивность */
@media (max-width: 1200px) {
    .header-container {
        padding: 15px 50px;
    }

    .nav-links a {
        white-space: initial;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-link {
        padding: 10px 15px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .wheel-menu {
        display: block;
    }
    
    .main-header {
        transform: translateY(0);
        opacity: 1;
        animation: none;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .logo img {
        width: 150px;
    }
}

/* Герой-секция */
.hero {
    height: 90vh;
    max-height: 1000px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
    width: 100%;
    max-width: calc(100% - 200px);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    box-sizing: border-box;
}

.btn-primary {
    background-color: var(--accent-teal);
    color: white;
    box-shadow: 0 4px 15px rgba(58, 183, 191, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 75, 140, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color:  var(--accent-teal);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: rgba(26, 75, 140, 0.1);
    transform: translateY(-3px);
}

/* Секции */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}


/* Футер */
.main-footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0 0;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-teal);
    bottom: 0;
    left: 0;
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}


/* Дополнения к предыдущим стилям */

/* Декоративные морские элементы */
.sea-decoration {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.1;
}

.anchor-decoration {
    position: absolute;
    right: 5%;
    top: 30%;
    font-size: 3rem;
    color: var(--accent-teal);
    opacity: 0.1;
    transform: rotate(-15deg);
    animation: floating 8s ease-in-out infinite;
}

.lifebuoy-decoration {
    position: absolute;
    left: 8%;
    bottom: 20%;
    width: 80px;
    height: 80px;
    border: 5px solid var(--accent-gold);
    border-radius: 50%;
    opacity: 0.1;
}

.lifebuoy-decoration:before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 5px solid var(--accent-gold);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.starfish-decoration {
    position: absolute;
    width: 30px;
    height: 30px;
    color: var(--accent-gold);
    
    opacity: 0.2;
}

/* Позиционирование декоративных элементов */
.decor-1 {
    top: 15%;
    left: 10%;
    transform: rotate(25deg);
}

.decor-2 {
    top: 40%;
    right: 12%;
    transform: rotate(-10deg);
}

.decor-3 {
    bottom: 25%;
    left: 15%;
    transform: rotate(15deg);
}

.decor-4 {
    bottom: 15%;
    right: 20%;
    transform: rotate(-25deg);
}

/* Анимация для морских звезд */
@keyframes starfish-pulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.starfish-decoration {
    animation: starfish-pulse 5s ease-in-out infinite;
}

.starfish-decoration:nth-child(2n) {
    animation-delay: 1s;
}

.starfish-decoration:nth-child(3n) {
    animation-delay: 2s;
}

/* Стили для секций с морскими элементами */
.section-with-decor {
    position: relative;
    overflow: hidden;
}

.section-with-decor:before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(58,183,191,0.1) 0%, rgba(58,183,191,0) 70%);
    border-radius: 50%;
}

/* Волны в разделителях */
/* .wave-divider svg {
    width: 150px;
    height: 30px;
    fill: var(--accent-teal);
} */
.wave-divider {
    width: 100%;
    height: 30px; /* Высота SVG */
    margin: 40px 0;
    object-fit: cover;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
}


/* Кнопки с морской тематикой */
.btn-primary {
    position: relative;
    overflow: hidden;
}


/* Форма с морской тематикой */
.contact-form {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.contact-form:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a4b8c' opacity='0.05'%3E%3Cpath d='M12,2C13.1,2 14,2.9 14,4C14,5.1 13.1,6 12,6C10.9,6 10,5.1 10,4C10,2.9 10.9,2 12,2M15.5,8C16.3,8 17,8.7 17,9.5C17,10.3 16.3,11 15.5,11C14.7,11 14,10.3 14,9.5C14,8.7 14.7,8 15.5,8M8.5,8C9.3,8 10,8.7 10,9.5C10,10.3 9.3,11 8.5,11C7.7,11 7,10.3 7,9.5C7,8.7 7.7,8 8.5,8M19,16V15.5C19,14.7 18.3,14 17.5,14H6.5C5.7,14 5,14.7 5,15.5V16C5,16.6 5.4,17 6,17H18C18.6,17 19,16.6 19,16M12,12C13.1,12 14,12.9 14,14V14.76C13.39,15.31 13,16.11 13,17H11C11,16.11 10.61,15.31 10,14.76V14C10,12.9 10.9,12 12,12Z' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(15deg);
}
input, textarea {

    box-sizing: border-box;
}

/* Анимация плавающей рыбы */
@keyframes swim {
    0% { transform: translateX(-100px) scaleX(1); }
    50% { transform: translateX(calc(100vw + 100px)) scaleX(1); }
    51% { transform: translateX(calc(100vw + 100px)) scaleX(-1); }
    100% { transform: translateX(-100px) scaleX(-1); }
}

.swimming {
    position: absolute;
    bottom: 20%;
    left: 0;
    animation: swim 20s linear infinite;
    opacity: 0.1;
    width: 80px;
}

/* Анимация паруса */
@keyframes sail {
    0% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(-1deg); }
    100% { transform: translateY(0) rotate(1deg); }
}

.ship-silhouette {
    position: absolute;
    right: 10%;
    bottom: 10%;
    width: 150px;
    animation: sail 8s ease-in-out infinite;
    opacity: 0.1;
}
.ship-silhouette i {
    font-size: 5rem;
}

/* Анимация компаса */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.compass-decoration {
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 5rem;
    color: rgba(245, 179, 73, 0.1);
    animation: spin 30s linear infinite;
}

/* Анимации */
@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 2000px; }
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ==================== ГЕРОЙ СЕКЦИЯ ==================== */
.hero {
    background-color: rgba(26,75,140,0.9);
    /* background: linear-gradient(135deg, rgba(26,75,140,0.9) 0%, rgba(42,127,186,0.85) 100%); */
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/water-texture.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-decoration i {
    width: 100px;
    height: 100px;
    object-fit: contain;
    color: white;
    font-size: 3rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.hero h1 {
    font-size: 4rem;
    background: linear-gradient(to right, #fff 0%, #f5b349 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero .subtitle {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    line-height: 1.4;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-20px) translateX(-50%);}
    60% {transform: translateY(-10px) translateX(-50%);}
}

/* ==================== О ПРОЕКТЕ ==================== */
.about-section {
    background-color: rgba(26,75,140,0.9);
    /* background: linear-gradient(0deg, rgba(26,75,140,0.9) 0%, rgba(42,127,186,0.85) 100%); */
    position: relative;
    padding: 40px 0 120px;
}
/* .about-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/water-texture.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(180deg) scaleX(-1);
    opacity: 0.3;
    z-index: 1;
    border-radius: 0px !important;
} */

.about-section h2 {
    color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
    position: relative;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    /* color: var(--dark-navy); */
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    padding-left: 30px;
}

.about-text p:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    height: 60%;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-teal), var(--primary-blue));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(58,183,191,0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(58,183,191,0.15);
    border-color: rgba(58,183,191,0.4);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-teal);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.feature-card:hover i {
    transform: scale(1.2);
    color: var(--primary-blue);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--dark-navy);
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.6;
}

.about-image {
    flex: 1;
    position: relative;
    max-height: 500px;
}

.about-image img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 10px solid white;
    position: relative;
    z-index: 2;
}

.fish-decoration {
    position: absolute;
    height: 100px;
    left: 0px;
    bottom: 0px;
    width: 100%;
}

/* ==================== ДЕМО ИГР ==================== */
.demo-section {
    background: linear-gradient(to bottom, #f8fbfe 0%, #e6f0f7 100%);
    padding: 120px 0;
    position: relative;
}

.games-carousel {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.games-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.game-card {
    scroll-snap-align: start;
    min-width: 350px;
    flex: 0 0 auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.game-card:hover .game-overlay  {
    transform: translateY(-70px);
}

.game-overlay {
    padding: 40px 30px;
    background: linear-gradient(135deg, rgb(26, 75, 140) 100%, rgb(42, 127, 186) 100%);
    color: white;
    transition: all 0.5s ease;
    border-radius: 20px;
    transform: translateY(-50px);
    transition: all 0.5s ease-in-out;
}


.game-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.game-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.btn-small {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-teal);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-small:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ==================== КАК ЭТО РАБОТАЕТ ==================== */
.how-section {
    background-color: var(--white);
    padding: 120px 0;
    position: relative;
}

.how-section .steps-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.how-section .steps-timeline:before {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--accent-teal), var(--primary-blue));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
}

.how-section .step {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 60px;
}

.how-section .step:nth-child(odd) {
    left: 0;
}

.how-section .step:nth-child(even) {
    left: 50%;
}

.how-section .step-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px var(--light-blue);
    top: 0;
    z-index: 1;
    right: -40px;
}

.how-section .step:nth-child(even) .step-icon {
    left: -40px;
}

.how-section .step-icon i {
    font-size: 2rem;
    color: var(--accent-teal);
}

.how-section .step-content {
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
}

.how-section .step-content h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.how-section .step-content p {
    color: var(--dark-navy);
    line-height: 1.6;
    font-size: 1.1rem;
}

.how-section .step-content:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: white;
    transform: rotate(45deg);
    top: 30px;
    z-index: -1;
    right: -15px;
}

.how-section .step:nth-child(even) .step-content:after {
    left: -15px;
    right: auto;
}

/* ==================== ОТЗЫВЫ ==================== */
.testimonials-section {
    background: linear-gradient(135deg, rgba(26,75,140,0.95) 0%, rgba(42,127,186,0.95) 100%);
    padding: 120px 0;
    color: white;
}

.testimonials-carousel {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    scroll-snap-align: start;
    min-width: 450px;
    flex: 0 0 auto;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-10px);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--accent-teal);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p:before,
.testimonial-content p:after {
    content: '"';
    font-size: 2rem;
    color: var(--accent-teal);
    opacity: 0.5;
    position: absolute;
}

.testimonial-content p:before {
    top: -15px;
    left: -15px;
}

.testimonial-content p:after {
    bottom: -25px;
    right: -10px;
}

.testimonial-author h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ==================== КОНТАКТНАЯ ФОРМА ==================== */
.contact-section {
    background-color: var(--white);
    padding: 120px 0;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.contact-form:after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(58,183,191,0.1) 0%, rgba(58,183,191,0) 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: 0;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(58,183,191,0.3);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: rgba(230,240,247,0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 5px 15px rgba(58,183,191,0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 40px 0;
}

.checkbox-group input {
    width: auto;
    margin-right: 15px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-group a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: all 0.3s;
}

.checkbox-group a:hover {
    text-decoration: underline;
}


/* Terms Page Specific Styles */
.terms-hero {
    background: linear-gradient(135deg, rgba(26,75,140,0.95) 0%, rgba(42,127,186,0.95) 100%);
    padding: 150px 0 100px;
    position: relative;
    text-align: center;
}

.terms-hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
}

.terms-hero .subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
}

.legal-decoration {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

.legal-decoration i {
    font-size: 3rem;
    color: var(--primary-blue);
}

/* Terms Overview */
.terms-overview {
    max-width: 1000px;
    margin: 80px auto 60px;
}

.overview-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    border-top: 5px solid var(--accent-teal);
}

.overview-card i {
    font-size: 3rem;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.overview-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.overview-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-navy);
}

/* Key Points */
.key-points {
    margin: 80px 0;
}

.key-points h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.key-points h2 i {
    color: var(--accent-teal);
}

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

.point-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.point-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.point-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.point-icon i {
    font-size: 1.8rem;
    color: var(--accent-teal);
}

.point-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.point-card ul {
    list-style: none;
    padding: 0;
}

.point-card li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.point-card li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent-teal);
    border-radius: 50%;
}

/* SEO Legal Block */
.seo-legal-block {
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    border-radius: 15px;
    overflow: hidden;
    margin: 80px 0;
    display: flex;
}

.seo-content {
    flex: 1;
    padding: 40px;
    color: white;
}

.seo-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white
}

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: white;
}

.seo-content strong {
    color: var(--accent-gold);
}

.seo-illustration {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.seo-illustration img {
    max-width: 100%;
    border-radius: 10px;
}

/* Full Terms */
.full-terms {
    margin: 80px 0;
}

.full-terms h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.full-terms h2 i {
    color: var(--accent-teal);
}

.terms-accordion {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.term-section {
    border-bottom: 1px solid #eee;
    background: white;
}

.term-section:last-child {
    border-bottom: none;
}

.term-heading {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    border: none;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.term-heading i {
    transition: transform 0.3s ease;
}

.term-section.active .term-heading i {
    transform: rotate(180deg);
}

.term-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
    background: rgba(230,240,247,0.5);
}

.term-section.active .term-details {
    max-height: 500px;
    padding: 20px 25px;
}

.term-details p {
    margin-bottom: 15px;
    color: var(--dark-navy);
    line-height: 1.6;
}

.acceptance-box {
    background: var(--light-blue);
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-blue);
}




/* ==================== АДАПТИВНОСТЬ ==================== */


/* Адаптивность */
@media (max-width: 1200px) {
    .nav-container, .hero-content, .section-container, .footer-container {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 1200px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        min-height: auto;
        margin-top: 60px;
    }
    
    .how-section .steps-timeline:before {
        left: 40px;
    }
    
    .how-section .step {
        width: 100%;
        left: 0 !important;
        padding-left: 80px;
        padding-right: 20px;
    }
    
    .how-section .step-icon {
        left: 0 !important;
        right: auto;
    }
    
    .how-section .step-content:after {
        left: -15px !important;
        right: auto !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .seo-legal-block {
        flex-direction: column;
    }
    
    .seo-illustration {
        padding: 40px;
    }
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .terms-hero h1 {
        font-size: 2.5rem;
    }
    
    .points-grid {
        grid-template-columns: 1fr;
    }
    
    .term-heading {
        font-size: 1rem;
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .subtitle {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card {
        min-width: 280px;
    }
    
    .testimonial-card {
        min-width: 280px;
        flex-direction: column;
        padding: 20px;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    .testimonial-content p {
        max-width: calc(100vw - 100px);
    }
}


@media (max-width: 768px) {
    .nav-container, .hero-content, .section-container, .footer-container {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .nav-links {
        display: none;
    }
    
}


@media (max-width: 576px) {
    .terms-hero {
        padding: 120px 0 80px;
    }
    
    .overview-card {
        padding: 30px 20px;
    }
    
    .full-terms h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}