/* ============================================
   PIRATESPIN THEME - main.css (moban-81)
   Pirate Ship Classic Slots Theme
   Colors: #8B4513 brown, #DAA520 gold, #1E3A5F blue, bg #1A0F05
   ============================================ */

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

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

body {
    font-family: 'Nunito', 'Averia Libre', sans-serif;
    background: #1A0F05;
    color: #E8D8C0;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'UnifrakturCook', 'Pirata One', serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: #DAA520;
    transition: all 0.3s ease;
}

a:hover {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
}

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

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

.gold-text {
    color: #DAA520;
}

/* === KEYFRAME ANIMATIONS === */
@keyframes shipRock {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    25% { transform: rotate(2deg) translateY(-8px); }
    50% { transform: rotate(-2deg) translateY(-4px); }
    75% { transform: rotate(3deg) translateY(-10px); }
}

@keyframes treasureGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(218, 165, 32, 0.3), 0 0 40px rgba(218, 165, 32, 0.1);
        opacity: 0.8;
    }
    50% {
        box-shadow: 0 0 40px rgba(218, 165, 32, 0.6), 0 0 80px rgba(218, 165, 32, 0.3);
        opacity: 1;
    }
}

@keyframes mapUnfurl {
    0% { transform: scaleY(0) rotate(-5deg); opacity: 0; }
    50% { transform: scaleY(0.6) rotate(2deg); opacity: 0.7; }
    100% { transform: scaleY(1) rotate(0deg); opacity: 1; }
}

@keyframes anchorDrop {
    0% { transform: translateY(-50px); opacity: 0; }
    60% { transform: translateY(10px); opacity: 1; }
    80% { transform: translateY(-5px); }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes waveRoll {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-20px) translateY(-5px); }
    50% { transform: translateX(0) translateY(-10px); }
    75% { transform: translateX(20px) translateY(-5px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes waveRoll2 {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(15px) translateY(-3px); }
    50% { transform: translateX(0) translateY(-7px); }
    75% { transform: translateX(-15px) translateY(-3px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes compassSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pirateFlagWave {
    0%, 100% { transform: skewX(0deg) rotate(0deg); }
    25% { transform: skewX(3deg) rotate(2deg); }
    75% { transform: skewX(-3deg) rotate(-2deg); }
}

@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(218, 165, 32, 0.3); }
    50% { box-shadow: 0 0 20px rgba(218, 165, 32, 0.6), 0 0 40px rgba(218, 165, 32, 0.2); }
}

/* === HEADER === */
.site-header {
    background: linear-gradient(135deg, #1A0F05 0%, #2D1810 50%, #1A0F05 100%);
    border-bottom: 3px solid #8B4513;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(218, 165, 32, 0.3));
}

.header-time {
    color: #DAA520;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.header-btn-group {
    display: flex;
    gap: 10px;
}

.btn-login {
    background: transparent;
    border: 2px solid #8B4513;
    color: #DAA520;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-login:hover {
    background: #8B4513;
    color: #fff;
}

.btn-register {
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: #1A0F05;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    transition: all 0.3s;
}

.btn-register:hover {
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #1A0F05;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

.btn-demo {
    background: #1E3A5F;
    color: #DAA520;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    border: 2px solid #2A5080;
    transition: all 0.3s;
}

.btn-demo:hover {
    background: #2A5080;
    color: #FFD700;
}

/* === NAVIGATION === */
.main-navigation {
    background: linear-gradient(180deg, #2D1810, #1A0F05);
    border-top: 1px solid rgba(139, 69, 19, 0.5);
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.nav-link {
    display: block;
    padding: 12px 16px;
    color: #E8D8C0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #DAA520;
    background: rgba(139, 69, 19, 0.2);
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #DAA520;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #DAA520;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* === NOTIFICATION BAR === */
.notification-bar {
    background: linear-gradient(90deg, #8B4513, #DAA520, #8B4513);
    padding: 8px 0;
    overflow: hidden;
}

.notification-content {
    display: flex;
    gap: 40px;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
    color: #1A0F05;
    font-weight: 700;
    font-size: 13px;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* === ANNOUNCEMENT MODAL === */
.announcement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.announcement-modal.active {
    display: flex;
}

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

.announcement-content {
    position: relative;
    background: linear-gradient(135deg, #2D1810, #1A0F05);
    border: 2px solid #8B4513;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    z-index: 1;
    animation: anchorDrop 0.5s ease;
}

.announcement-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #DAA520;
    font-size: 28px;
    cursor: pointer;
}

.announcement-header-icon {
    text-align: center;
    margin-bottom: 15px;
}

.announcement-header-icon i {
    font-size: 48px;
    color: #DAA520;
    animation: pulseGlow 2s infinite;
}

.announcement-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(139, 69, 19, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(139, 69, 19, 0.3);
    transition: all 0.3s;
}

.announcement-item:hover {
    background: rgba(139, 69, 19, 0.4);
    border-color: #DAA520;
}

.announcement-badge {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

.announcement-badge.hot { background: #ff4444; color: #fff; }
.announcement-badge.new { background: #DAA520; color: #1A0F05; }
.announcement-badge.info { background: #1E3A5F; color: #DAA520; }

.announcement-text {
    flex: 1;
    font-size: 13px;
    color: #E8D8C0;
}

.announcement-item i.fa-chevron-right {
    color: #DAA520;
    font-size: 12px;
}

.announcement-footer {
    text-align: center;
}

.announcement-cta {
    display: inline-block;
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: #1A0F05;
    padding: 12px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

/* === BUTTONS === */
.btn-gold-primary {
    display: inline-block;
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: #1A0F05;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-gold-primary:hover {
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #1A0F05;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
}

.btn-outline-gold {
    display: inline-block;
    background: transparent;
    color: #DAA520;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid #DAA520;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline-gold:hover {
    background: rgba(218, 165, 32, 0.1);
    color: #FFD700;
    border-color: #FFD700;
    transform: translateY(-3px);
}

/* === PIRATE HERO === */
.pirate-hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #1A0F05 0%, #2D1810 30%, #1E3A5F 70%, #0D1B2A 100%);
    border-radius: 15px;
    margin: 20px 0;
    border: 2px solid rgba(139, 69, 19, 0.5);
}

.stormy-seas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wave-layer {
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 120%;
    height: 100%;
}

.wave-layer-1 {
    background: linear-gradient(180deg, transparent 40%, rgba(30, 58, 95, 0.6) 70%, #1E3A5F 100%);
    animation: waveRoll 6s ease-in-out infinite;
    border-radius: 50% 50% 0 0;
}

.wave-layer-2 {
    background: linear-gradient(180deg, transparent 50%, rgba(30, 58, 95, 0.4) 75%, rgba(30, 58, 95, 0.8) 100%);
    animation: waveRoll2 8s ease-in-out infinite;
    bottom: -10px;
}

.wave-layer-3 {
    background: linear-gradient(180deg, transparent 60%, rgba(13, 27, 42, 0.6) 80%, #0D1B2A 100%);
    animation: waveRoll 10s ease-in-out infinite reverse;
    bottom: -20px;
}

/* Pirate Ship */
.pirate-ship {
    position: absolute;
    left: 10%;
    bottom: 120px;
    animation: shipRock 5s ease-in-out infinite;
    z-index: 2;
}

.ship-hull {
    width: 180px;
    height: 60px;
    background: linear-gradient(180deg, #8B4513, #5C2D0E);
    border-radius: 0 0 50% 50%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.ship-mast {
    position: absolute;
    width: 6px;
    height: 150px;
    background: linear-gradient(180deg, #5C2D0E, #8B4513);
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
}

.ship-sail {
    position: absolute;
    width: 100px;
    height: 80px;
    background: linear-gradient(135deg, #E8D8C0, #D4C4A8);
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.2);
}

.ship-flag {
    position: absolute;
    left: 50%;
    bottom: 190px;
    transform: translateX(-50%);
    color: #DAA520;
    font-size: 20px;
    animation: pirateFlagWave 3s ease-in-out infinite;
}

/* Treasure Chest */
.treasure-chest {
    position: absolute;
    right: 10%;
    bottom: 100px;
    z-index: 2;
}

.chest-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.4), transparent);
    border-radius: 50%;
    animation: treasureGlow 3s ease-in-out infinite;
}

.chest-lid {
    width: 80px;
    height: 25px;
    background: linear-gradient(180deg, #DAA520, #8B4513);
    border-radius: 10px 10px 0 0;
    border: 2px solid #DAA520;
    position: relative;
    transform-origin: bottom;
    transform: rotateX(-20deg);
}

.chest-base {
    width: 80px;
    height: 40px;
    background: linear-gradient(180deg, #8B4513, #5C2D0E);
    border-radius: 0 0 5px 5px;
    border: 2px solid #DAA520;
    border-top: none;
}

/* Old Map Overlay */
.old-map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    opacity: 0.15;
    animation: mapUnfurl 2s ease-out;
    z-index: 1;
}

.map-compass {
    width: 80px;
    height: 80px;
    border: 3px solid #DAA520;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 10px;
}

.map-compass::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 60px;
    background: #DAA520;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: compassSpin 10s linear infinite;
}

.map-route {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 80px;
    height: 2px;
    background: repeating-linear-gradient(90deg, #DAA520 0px, #DAA520 5px, transparent 5px, transparent 10px);
}

.hero-inner-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 30px;
    max-width: 800px;
}

.hero-main-title {
    margin-bottom: 20px;
}

.hero-brand {
    display: block;
    font-family: 'UnifrakturCook', 'Pirata One', serif;
    font-size: 56px;
    color: #DAA520;
    letter-spacing: 8px;
    text-shadow: 0 0 30px rgba(218, 165, 32, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.8);
    background: linear-gradient(90deg, #DAA520, #FFD700, #DAA520);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s linear infinite;
}

.hero-divider-line {
    display: block;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #DAA520, transparent);
    margin: 15px auto;
}

.hero-tagline {
    display: block;
    font-family: 'UnifrakturCook', 'Pirata One', serif;
    font-size: 22px;
    color: #E8D8C0;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 16px;
    color: #C8B8A0;
    margin-bottom: 25px;
    line-height: 1.8;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: 'UnifrakturCook', serif;
    font-size: 30px;
    color: #DAA520;
    font-weight: 700;
}

.hero-stat-label {
    font-size: 12px;
    color: #C8B8A0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === SECTION TITLES === */
.section-title {
    text-align: center;
    font-size: 32px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(218, 165, 32, 0.3);
}

.section-title i {
    margin-right: 10px;
}

.section-subtitle {
    text-align: center;
    color: #C8B8A0;
    font-size: 16px;
    margin-bottom: 40px;
}

/* === TREASURE GAMES (6 cards) === */
.treasure-games {
    padding: 60px 0;
}

.treasure-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.treasure-game-card {
    background: linear-gradient(135deg, #2D1810, #1A0F05);
    border: 2px solid rgba(139, 69, 19, 0.5);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    display: block;
}

.treasure-game-card:hover {
    border-color: #DAA520;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(218, 165, 32, 0.2);
}

.treasure-game-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.treasure-game-card:hover .treasure-game-glow {
    opacity: 1;
}

.treasure-game-icon {
    font-size: 48px;
    color: #DAA520;
    margin-bottom: 15px;
}

.treasure-game-rating {
    margin-bottom: 10px;
}

.treasure-game-rating i {
    color: #DAA520;
    font-size: 12px;
}

.treasure-game-card h3 {
    color: #E8D8C0;
    font-size: 20px;
    margin-bottom: 10px;
}

.treasure-game-card p {
    color: #A89880;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.treasure-game-players {
    font-size: 12px;
    color: #DAA520;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* === NAUTICAL GRID (3x4) === */
.nautical-grid {
    padding: 60px 0;
    background: rgba(139, 69, 19, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(139, 69, 19, 0.2);
    margin: 20px 0;
}

.nautical-map {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
}

.nautical-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.nautical-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: rgba(45, 24, 16, 0.8);
    border: 2px solid rgba(139, 69, 19, 0.4);
    border-radius: 10px;
    transition: all 0.3s;
    min-width: 120px;
    animation: anchorDrop 0.5s ease backwards;
}

.nautical-node:nth-child(1) { animation-delay: 0.1s; }
.nautical-node:nth-child(3) { animation-delay: 0.2s; }
.nautical-node:nth-child(5) { animation-delay: 0.3s; }
.nautical-node:nth-child(7) { animation-delay: 0.4s; }

.nautical-node:hover {
    border-color: #DAA520;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.2);
}

.node-anchor {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(218, 165, 32, 0.1);
    border: 2px solid #DAA520;
    color: #DAA520;
    font-size: 20px;
    transition: all 0.3s;
}

.nautical-node:hover .node-anchor {
    background: rgba(218, 165, 32, 0.2);
    transform: scale(1.1);
}

.node-label {
    font-size: 13px;
    color: #E8D8C0;
    font-weight: 600;
    text-align: center;
}

.nautical-line {
    flex: 0 0 40px;
    height: 2px;
    background: repeating-linear-gradient(90deg, #8B4513 0px, #8B4513 5px, transparent 5px, transparent 10px);
}

/* === PIRATE FEATURES (4 cards) === */
.pirate-features {
    padding: 60px 0;
}

.pirate-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.pirate-feature-card {
    background: linear-gradient(135deg, #2D1810, #1A0F05);
    border: 2px solid rgba(139, 69, 19, 0.4);
    border-radius: 15px;
    padding: 35px 20px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.pirate-feature-card:hover {
    border-color: #DAA520;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.15);
}

.pirate-feature-icon {
    margin-bottom: 20px;
}

.compass-icon {
    width: 60px;
    height: 60px;
    border: 3px solid #DAA520;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    background: rgba(218, 165, 32, 0.1);
}

.compass-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: #DAA520;
    transform: translate(-50%, -50%) rotate(45deg);
}

.compass-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #DAA520;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.pirate-feature-card h3 {
    color: #DAA520;
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.pirate-feature-card p {
    color: #A89880;
    font-size: 14px;
    line-height: 1.7;
}

/* === VOYAGE STATS (4 counters) === */
.voyage-stats {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1E3A5F, #0D1B2A);
    border-radius: 15px;
    margin: 20px 0;
    border: 2px solid rgba(30, 58, 95, 0.5);
}

.voyage-stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave-layer-stats {
    background: linear-gradient(180deg, transparent 60%, rgba(30, 58, 95, 0.3) 100%);
    animation: waveRoll 8s ease-in-out infinite;
}

.voyage-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.voyage-stat-card {
    text-align: center;
    padding: 30px 15px;
    background: rgba(26, 15, 5, 0.6);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 15px;
    transition: all 0.3s;
}

.voyage-stat-card:hover {
    border-color: #DAA520;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.15);
}

.stat-anchor-decoration {
    color: #DAA520;
    font-size: 20px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.stat-anchor-decoration.bottom {
    margin-bottom: 0;
    margin-top: 10px;
}

.stat-number {
    font-family: 'UnifrakturCook', serif;
    font-size: 42px;
    color: #DAA520;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(218, 165, 32, 0.3);
}

.stat-label {
    font-size: 14px;
    color: #C8B8A0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === PIRATE PROMOTIONS (3 cards) === */
.pirate-promos {
    padding: 60px 0;
}

.pirate-promos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pirate-promo-card {
    background: linear-gradient(135deg, #2D1810, #1A0F05);
    border: 2px solid rgba(139, 69, 19, 0.5);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s;
}

.pirate-promo-card:hover {
    border-color: #DAA520;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(218, 165, 32, 0.2);
}

.promo-treasure-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(218, 165, 32, 0.05), transparent 70%);
}

.pirate-promo-inner {
    padding: 30px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.promo-icon {
    font-size: 36px;
    color: #DAA520;
    margin-bottom: 15px;
}

.pirate-promo-inner h3 {
    color: #DAA520;
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.pirate-promo-inner p {
    color: #A89880;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.promo-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #C8B8A0;
}

.promo-badge {
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
}

.promo-badge.hot { background: #ff4444; color: #fff; }
.promo-badge.new { background: #DAA520; color: #1A0F05; }
.promo-badge.vip { background: #1E3A5F; color: #DAA520; border: 1px solid #DAA520; }

.btn-promo {
    display: inline-block;
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: #1A0F05;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-promo:hover {
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #1A0F05;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

/* === FOOTER CTA === */
.footer-cta-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2D1810, #1A0F05, #1E3A5F);
    border-radius: 15px;
    margin: 20px 0;
    border: 2px solid rgba(139, 69, 19, 0.5);
    text-align: center;
}

.footer-cta-wavefield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave-layer-cta {
    background: linear-gradient(180deg, transparent 50%, rgba(30, 58, 95, 0.2) 100%);
    animation: waveRoll 10s ease-in-out infinite;
}

.footer-cta-inner {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.cta-anchor-decoration {
    margin-bottom: 20px;
}

.cta-anchor-outer {
    width: 80px;
    height: 80px;
    border: 3px solid #DAA520;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(218, 165, 32, 0.1);
}

.cta-anchor-inner {
    width: 40px;
    height: 40px;
    border: 2px solid #DAA520;
    border-radius: 50%;
    background: rgba(218, 165, 32, 0.2);
}

.footer-cta-inner h2 {
    font-size: 36px;
    color: #DAA520;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.footer-cta-inner > p {
    color: #C8B8A0;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.8;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-feature {
    color: #E8D8C0;
    font-size: 14px;
    font-weight: 600;
}

.cta-feature i {
    color: #DAA520;
    margin-right: 5px;
}

.cta-main-btn {
    padding: 16px 50px;
    font-size: 18px;
}

/* === NEWS SECTION === */
.home-news-section {
    padding: 60px 0;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.article-card {
    background: linear-gradient(135deg, #2D1810, #1A0F05);
    border: 2px solid rgba(139, 69, 19, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    display: block;
}

.article-card:hover {
    border-color: #DAA520;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.15);
}

.article-card-thumb {
    height: 180px;
    overflow: hidden;
}

.article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.article-card-title {
    padding: 15px 15px 5px;
    font-size: 16px;
    font-weight: 700;
    color: #E8D8C0;
    line-height: 1.4;
    min-height: 48px;
}

.article-card-title span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    padding: 5px 15px;
    font-size: 12px;
    color: #8B7560;
}

.article-card-meta i {
    margin-right: 5px;
    color: #DAA520;
}

.article-card-excerpt {
    padding: 5px 15px 15px;
    font-size: 13px;
    color: #A89880;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-more {
    display: block;
    padding: 10px 15px;
    border-top: 1px solid rgba(139, 69, 19, 0.2);
    color: #DAA520;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.article-card-more:hover {
    color: #FFD700;
    background: rgba(218, 165, 32, 0.05);
}

.view-more-btn {
    display: inline-block;
    text-align: center;
    padding: 12px 30px;
    border: 2px solid #DAA520;
    border-radius: 8px;
    color: #DAA520;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.view-more-btn:hover {
    background: rgba(218, 165, 32, 0.1);
    color: #FFD700;
    border-color: #FFD700;
}

.gold-view-more {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.home-news-placeholder {
    display: contents;
}

/* === CONTENT AREA & LAYOUT === */
.content-area {
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: #8B7560;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #DAA520;
}

.breadcrumb span {
    color: #8B7560;
}

/* === ARTICLE GRID (blog listing) === */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

/* === SINGLE ARTICLE === */
.single-article {
    background: linear-gradient(135deg, #2D1810, #1A0F05);
    border: 2px solid rgba(139, 69, 19, 0.4);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.article-header {
    margin-bottom: 25px;
}

.article-title {
    font-size: 32px;
    color: #DAA520;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #8B7560;
}

.article-meta i {
    color: #DAA520;
    margin-right: 5px;
}

.article-meta a {
    color: #DAA520;
}

.article-featured-img {
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
}

.article-featured-img img {
    width: 100%;
    border-radius: 10px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #E8D8C0;
}

.article-content h2, .article-content h3, .article-content h4 {
    color: #DAA520;
    margin: 20px 0 10px;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content img {
    border-radius: 8px;
    margin: 15px 0;
}

.article-content a {
    color: #DAA520;
    text-decoration: underline;
}

.article-tags {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 69, 19, 0.3);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.article-tags i {
    color: #DAA520;
}

.article-tags span {
    background: rgba(139, 69, 19, 0.3);
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 13px;
    color: #DAA520;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 69, 19, 0.3);
}

.article-nav a {
    color: #DAA520;
    font-weight: 600;
}

/* === RELATED POSTS === */
.related-posts {
    margin-bottom: 30px;
}

.related-posts-title {
    font-size: 22px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.related-item {
    background: linear-gradient(135deg, #2D1810, #1A0F05);
    border: 1px solid rgba(139, 69, 19, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    display: block;
}

.related-item:hover {
    border-color: #DAA520;
    transform: translateY(-3px);
}

.related-item-thumb {
    height: 100px;
    overflow: hidden;
}

.related-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item-title {
    padding: 10px;
    font-size: 13px;
    color: #E8D8C0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === PAGE === */
.page-article {
    background: linear-gradient(135deg, #2D1810, #1A0F05);
    border: 2px solid rgba(139, 69, 19, 0.4);
    border-radius: 15px;
    padding: 30px;
}

.page-title {
    font-size: 32px;
    color: #DAA520;
    margin-bottom: 20px;
}

.page-featured-img {
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
}

.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: #E8D8C0;
}

/* === 404 === */
.error-page {
    text-align: center;
    padding: 80px 20px;
}

.error-anchor {
    font-size: 80px;
    color: #DAA520;
    margin-bottom: 20px;
    animation: anchorDrop 1s ease;
}

.error-code {
    font-size: 100px;
    color: #DAA520;
    text-shadow: 0 0 30px rgba(218, 165, 32, 0.3);
}

.error-title {
    font-size: 28px;
    color: #E8D8C0;
    margin-bottom: 15px;
}

.error-desc {
    color: #A89880;
    max-width: 500px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.7;
}

/* === CATEGORY === */
.category-header {
    text-align: center;
    padding: 30px 0;
}

.category-title {
    font-size: 32px;
    letter-spacing: 3px;
}

.category-desc {
    color: #A89880;
    margin-top: 10px;
    font-size: 16px;
}

.provider-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.provider-tab {
    background: rgba(139, 69, 19, 0.2);
    border: 1px solid rgba(139, 69, 19, 0.4);
    color: #E8D8C0;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.provider-tab:hover,
.provider-tab.active {
    background: rgba(218, 165, 32, 0.2);
    border-color: #DAA520;
    color: #DAA520;
}

/* === PAGINATION === */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(139, 69, 19, 0.2);
    border: 1px solid rgba(139, 69, 19, 0.4);
    color: #E8D8C0;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: rgba(218, 165, 32, 0.2);
    border-color: #DAA520;
    color: #DAA520;
}

/* === NO POSTS === */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #A89880;
    font-size: 16px;
}

/* === FLOATING SIDEBAR === */
.floating-sidebar {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B4513, #5C2D0E);
    color: #DAA520;
    font-size: 20px;
    transition: all 0.3s;
    position: relative;
    border: 2px solid rgba(218, 165, 32, 0.3);
}

.sidebar-btn:hover {
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: #1A0F05;
    transform: scale(1.1);
    border-color: #DAA520;
}

.sidebar-btn-facebook:hover { background: #1877F2; color: #fff; }
.sidebar-btn-telegram:hover { background: #0088cc; color: #fff; }

.sidebar-label {
    display: none;
}

.sidebar-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    background: #2D1810;
    color: #DAA520;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    border: 1px solid #8B4513;
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(180deg, #1A0F05, #0D0805);
    border-top: 3px solid #8B4513;
    padding: 50px 0 30px;
    margin-top: 40px;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

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

.footer-brand-logo img {
    height: 45px;
    filter: drop-shadow(0 0 10px rgba(218, 165, 32, 0.3));
}

.footer-brand-text {
    font-size: 14px;
    color: #A89880;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-18plus {
    display: inline-block;
    background: #ff4444;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 69, 19, 0.3);
    color: #DAA520;
    transition: all 0.3s;
    border: 1px solid rgba(139, 69, 19, 0.4);
}

.footer-social-links a:hover {
    background: #DAA520;
    color: #1A0F05;
}

.footer-col h4 {
    color: #DAA520;
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

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

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #A89880;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: #DAA520;
    padding-left: 5px;
}

.footer-license-bar {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(139, 69, 19, 0.3);
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
    margin-bottom: 20px;
}

.footer-license-bar h4 {
    color: #DAA520;
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.license-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.license-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.license-item i {
    font-size: 24px;
    color: #DAA520;
}

.license-item span {
    font-size: 11px;
    color: #A89880;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-copyright {
    color: #8B7560;
    font-size: 13px;
}

/* === SCROLL ANIMATIONS === */
.treasure-games,
.nautical-grid,
.pirate-features,
.voyage-stats,
.pirate-promos,
.footer-cta-section,
.home-news-section {
    opacity: 1;
}

/* === DYNAMIC STARS (waves) === */
.dynamic-wave {
    position: absolute;
    background: rgba(30, 58, 95, 0.3);
    border-radius: 50%;
    pointer-events: none;
}
