/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0a1a2e 0%, #162d4a 25%, #1e3a5f 50%, #2d4a73 75%, #3d5a87 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #cbd5e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #87ceeb;
    background: rgba(135, 206, 235, 0.2);
    border: 1px solid rgba(135, 206, 235, 0.3);
}

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

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(10, 26, 46, 0.7) 0%, rgba(30, 58, 95, 0.7) 25%, rgba(45, 74, 115, 0.7) 50%, rgba(74, 144, 164, 0.7) 75%, rgba(135, 206, 235, 0.7) 100%),
        url('images/18.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(135, 206, 235, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(70, 130, 180, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
    opacity: 0.8;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    text-align: left;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: scale(1.05);
}

.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(135, 206, 235, 0.3);
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.hero-logo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 60px rgba(135, 206, 235, 0.3);
    border-color: rgba(135, 206, 235, 0.6);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.floating-card.card-3 {
    top: 50%;
    right: 5%;
    animation-delay: 4s;
}

.floating-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.floating-card:hover .floating-icon {
    transform: scale(1.2) rotate(10deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes wave {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    50% { transform: translateX(10px) rotate(2deg); }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

.floating-card {
    animation: wave 8s ease-in-out infinite;
}

.floating-card.card-1 {
    animation-delay: 0s;
}

.floating-card.card-2 {
    animation-delay: 2.5s;
}

.floating-card.card-3 {
    animation-delay: 5s;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e, #00bfff, #87ceeb, #ff6b6b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.4rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.gambling-section,
.casino-games-section {
    padding: 100px 0;
    background: rgba(10, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(135, 206, 235, 0.2);
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
}

.casino-games-section {
    background: rgba(22, 45, 74, 0.8);
}

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

.section-tag {
    display: inline-block;
    background: linear-gradient(45deg, #0a1a2e, #1e3a5f, #2d4a73, #4a90a4, #87ceeb);
    background-size: 300% 300%;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
    animation: gradientShift 4s ease-in-out infinite;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
}

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

.intro-text {
    font-size: 1.3rem;
    color: #cbd5e0;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 400;
    line-height: 1.8;
}

.subsection {
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.subsection p {
    font-size: 1.15rem;
    color: #a0aec0;
    margin-bottom: 18px;
    line-height: 1.7;
}

.gambling-types {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.gambling-types li {
    background: linear-gradient(45deg, #0a1a2e, #1e3a5f, #2d4a73);
    color: white;
    padding: 15px 30px;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(135, 206, 235, 0.3);
}

.gambling-types li:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(135, 206, 235, 0.4);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 80px 0;
}

.game-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 0;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.game-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(1.0) contrast(1.1) saturate(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(10, 26, 46, 0.8), rgba(30, 58, 95, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.play-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.play-button:hover .play-icon {
    transform: scale(1.3);
}

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

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-card:hover .play-button {
    transform: scale(1.1);
}

.game-card-content {
    padding: 30px;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #0a1a2e, #1e3a5f, #2d4a73, #4a90a4, #87ceeb);
    background-size: 300% 300%;
    animation: gradientShift 3s ease-in-out infinite;
}

.game-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.game-card:hover::after {
    opacity: 1;
}

.game-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #87ceeb;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(135, 206, 235, 0.3);
    padding: 0 30px;
    padding-top: 20px;
}

.game-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
    padding: 0 30px;
}

.game-description {
    font-size: 1.1rem;
    color: #cbd5e0;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    padding: 0 30px;
    padding-bottom: 30px;
}

.closing-text {
    text-align: center;
    margin-top: 80px;
    padding: 50px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.closing-text p {
    font-size: 1.2rem;
    color: #cbd5e0;
    font-style: italic;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: 
        linear-gradient(135deg, rgba(10, 26, 46, 0.8) 0%, rgba(30, 58, 95, 0.8) 100%),
        url('images/19.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(135, 206, 235, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(135, 206, 235, 0.15) 0%, transparent 70%);
    opacity: 0.9;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-link {
    color: #a0aec0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 10px;
    position: relative;
}

.footer-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-main-image {
        max-width: 400px;
    }
    
    .hero-logo {
        max-width: 280px;
        padding: 15px;
    }
    
    .floating-card {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 60px 0;
    }
    
    .game-image {
        height: 200px;
    }
    
    .game-card {
        margin: 0 10px;
    }
    
    .game-number,
    .game-title,
    .game-description {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .game-title {
        font-size: 1.6rem;
    }
    
    .game-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .gambling-types {
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 25px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 80px 0;
        min-height: 80vh;
        background-attachment: scroll;
    }
    
    .footer {
        background-attachment: scroll;
    }
    
    .gambling-section,
    .casino-games-section {
        padding: 60px 0;
    }
    
    .subsection {
        padding: 25px 15px;
        margin-bottom: 30px;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
    
    .subsection p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-main-image {
        max-width: 300px;
    }
    
    .hero-logo {
        max-width: 250px;
        padding: 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .game-image {
        height: 180px;
    }
    
    .game-title {
        font-size: 1.4rem;
    }
    
    .game-description {
        font-size: 0.95rem;
    }
    
    .hero {
        min-height: 70vh;
        padding: 80px 0 60px 0;
    }
    
    .gambling-section,
    .casino-games-section {
        padding: 50px 0;
    }
    
    .subsection {
        padding: 20px 10px;
        margin-bottom: 25px;
    }
    
    .subsection-title {
        font-size: 1.3rem;
    }
    
    .subsection p {
        font-size: 0.95rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .game-card {
        margin: 0 5px;
    }
    
    .games-grid {
        gap: 15px;
        margin: 50px 0;
    }

    /* Terms & Privacy responsive */
    .terms-section,
    .privacy-section {
        padding: 100px 0 80px 0;
    }

    .terms-content,
    .privacy-content {
        padding: 30px;
        margin: 0 20px;
    }

    .terms-title,
    .privacy-title {
        font-size: 2rem;
    }

    .terms-text h2,
    .privacy-text h2 {
        font-size: 1.3rem;
    }
}

/* Terms & Privacy Pages */
.terms-section,
.privacy-section {
    padding: 120px 0 100px 0;
    background: rgba(10, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    min-height: 100vh;
}

.terms-content,
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.terms-title,
.privacy-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.last-updated {
    text-align: center;
    color: #87ceeb;
    font-size: 1rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.terms-text,
.privacy-text {
    color: #cbd5e0;
    line-height: 1.7;
}

.terms-text h2,
.privacy-text h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 30px 0 15px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.terms-text p,
.privacy-text p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.terms-text ul,
.privacy-text ul {
    margin: 15px 0 15px 20px;
}

.terms-text li,
.privacy-text li {
    margin-bottom: 8px;
}

.terms-text a,
.privacy-text a {
    color: #87ceeb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-text a:hover,
.privacy-text a:hover {
    color: #ffffff;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.game-card {
    animation: fadeInUp 0.6s ease forwards;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
