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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #01452d;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(35, 68, 58, 0.98);
    border: 2px solid #00d40b;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    z-index: 10000;
    backdrop-filter: blur(15px);
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: cookieSlideIn 0.5s ease-out;
}

@keyframes cookieSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.cookie-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.cookie-content h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 3px;
    color: #ffffff;
}

.cookie-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #e0e0e0;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-buttons button {
    padding: 15px 30px;
    border: 2px solid #00d423;
    border-radius: 50px;
    background: transparent;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.cookie-buttons button:first-child {
    background: #00d475;
    color: #000000;
}

.cookie-buttons button:hover {
    background: #00d47c;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 67, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}


.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #00d48a;
    border-radius: 25px;
    background: rgba(0, 55, 28, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
}

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

.logo-box {
    background: #000000;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-ballz {
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-deep {
    color: #00d494;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-brand {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    color: #00d48a;
}

.nav-contact {
    border: 2px solid #00d483;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-contact:hover {
    background: #00d455;
    color: #000000 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-left: 20px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #00d393;
}

.hero p {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
    color: #e0e0e0;
    max-width: 800px;
}

.download-button {
    margin-top: 40px;
}

.download-button img {
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.download-button img:hover {
    transform: scale(1.05);
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: #1a1a1a;
}

.advantages h2 {
    font-size: 48px;
    font-weight: 800;
    text-align: left;
    margin-bottom: 60px;
    color: #ffffff;
    margin-left: 20px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 30px;
    max-width: 1000px;
}

.advantage-card {
    background: rgba(50, 20, 60, 0.6);
    border: 2px solid #00ca74;
    border-radius: 25px;
    padding: 35px;
    transition: all 0.3s ease;
    text-align: center;
}

.advantage-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 450px;
    margin: 0 auto;
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: #00ff93;
    background: rgba(60, 20, 58, 0.8);
    box-shadow: 0 15px 40px rgba(107, 255, 188, 0.2);
}

.advantage-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.3;
}

.advantage-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Ballz Section */
.ballz-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #245548 0%, #143023 100%);
}

.ballz-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    gap: 80px;
}

.ballz-logo {
    display: flex;
    align-items: center;
}

.ballz-b { color: #ff6b9d; font-size: 120px; font-weight: 800; }
.ballz-a { color: #ffa726; font-size: 120px; font-weight: 800; }
.ballz-l1 { color: #42a5f5; font-size: 120px; font-weight: 800; }
.ballz-l2 { color: #66bb6a; font-size: 120px; font-weight: 800; }
.ballz-z { color: #ab47bc; font-size: 120px; font-weight: 800; }

.ballz-gameplay {
    background: #000000;
    border: 3px solid #00bcd4;
    border-radius: 20px;
    padding: 0;
    width: 600px;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.ballz-board {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
}

.ballz-numbers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

.number {
    position: absolute;
    width: 50px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    border-radius: 6px;
}

.number.pink { background: #e91e63; }
.number.yellow { background: #fdd835; color: #000000; }
.number.brown { background: #8d6e63; }

.number.top-left { top: 20px; left: 440px; }
.number.top-center { top: 20px; left: 500px; }
.number.top-right { top: 20px; right: 20px; }
.number.mid-left { top: 70px; left: 440px; }
.number.mid-center { top: 70px; left: 500px; }
.number.mid-right { top: 70px; right: 20px; }
.number.bottom-left { top: 140px; left: 200px; }
.number.bottom-center { top: 140px; left: 280px; }
.number.bottom-right { top: 140px; right: 20px; }

.ballz-balls {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ball {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
}

.ball-1 { top: 180px; left: 120px; }
.ball-2 { top: 200px; left: 140px; }
.ball-3 { top: 220px; left: 180px; }
.ball-4 { top: 200px; left: 200px; }
.ball-5 { top: 240px; left: 220px; }
.ball-6 { top: 180px; left: 260px; }
.ball-7 { top: 260px; left: 240px; }
.ball-8 { top: 200px; left: 300px; }
.ball-9 { top: 220px; left: 320px; }
.ball-10 { top: 240px; left: 340px; }
.ball-11 { top: 180px; left: 380px; }
.ball-12 { top: 260px; left: 360px; }
.ball-13 { top: 200px; left: 420px; }
.ball-14 { top: 240px; left: 460px; }
.ball-15 { top: 220px; left: 500px; }

.ballz-circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    border: 3px solid #ffffff;
    border-radius: 50%;
}

.circle-1 { width: 25px; height: 25px; top: 100px; left: 300px; }
.circle-2 { width: 35px; height: 35px; top: 80px; right: 100px; border-color: #00bcd4; }
.circle-3 { width: 20px; height: 20px; top: 160px; left: 350px; border-color: #ffeb3b; }
.circle-4 { width: 30px; height: 30px; top: 120px; left: 450px; }

.ballz-cannon {
    position: absolute;
    bottom: 20px;
    left: 30px;
    width: 40px;
    height: 60px;
}

.cannon-base {
    width: 30px;
    height: 40px;
    background: #ffffff;
    border-radius: 15px 15px 8px 8px;
    position: absolute;
    bottom: 0;
    left: 5px;
}

.cannon-lines {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 40px;
    height: 20px;
}

.line {
    position: absolute;
    width: 2px;
    height: 15px;
    background: #cccccc;
    left: 50%;
    transform: translateX(-50%);
}

.line-1 { bottom: 0; }
.line-2 { bottom: 5px; }
.line-3 { bottom: 10px; }

.ballz-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ballz-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #00d393;
    line-height: 1.3;
}

.ballz-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.7;
    color: #e0e0e0;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: #1a1a1a;
}

.reviews h2 {
    font-size: 48px;
    font-weight: 800;
    text-align: left;
    margin-bottom: 60px;
    color: #ffffff;
    margin-left: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background: rgba(20, 30, 40, 0.6);
    border: 3px solid #00d48a;
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.review-card.large {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: #006845;
    background: rgba(20, 30, 40, 0.8);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
}

.reviewer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 25px;
    overflow: hidden;
    border: 3px solid #00d48a;
}

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

.review-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #00d48a;
}

.review-card p {
    font-size: 16px;
    font-style: italic;
    opacity: 0.9;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, #245548 0%, #14301e 100%);
}

.gallery h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: #00d48a;
}

.gallery p {
    font-size: 16px;
    text-align: center;
    margin-bottom: 25px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #e0e0e0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    background: #000000;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;

}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 228, 146, 0.4);
}

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

.gallery-badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.gallery-badge.green {
    background: #4caf50;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #001e14;
}

.contact h2 {
    font-size: 48px;
    font-weight: 800;
    text-align: left;
    margin-bottom: 20px;
    color: #00d48a;
    margin-left: 20px;
}

.contact p {
    font-size: 16px;
    text-align: left;
    margin-bottom: 20px;
    opacity: 0.9;
    margin-left: 20px;
    color: #e0e0e0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.contact-game {
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-preview {
    background: #000000;
    border: 3px solid #00d475;
    border-radius: 20px;
    width: 400px;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.game-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.game-obstacles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.obstacle {
    position: absolute;
    background: #b02789;
    border-radius: 50%;
}

.obstacle-1 { width: 60px; height: 60px; top: 40px; left: 40px; }
.obstacle-2 { width: 50px; height: 50px; top: 60px; right: 60px; }
.obstacle-3 { width: 55px; height: 55px; top: 120px; left: 60px; }
.obstacle-4 { width: 65px; height: 65px; top: 140px; right: 40px; }
.obstacle-5 { width: 50px; height: 50px; top: 200px; left: 120px; }

.game-platforms {
    position: absolute;
    width: 100%;
    height: 100%;
}

.platform {
    position: absolute;
    background: #4caf50;
    height: 8px;
    border-radius: 4px;
}

.platform-1 { width: 80px; top: 80px; left: 150px; }
.platform-2 { width: 60px; top: 120px; right: 120px; }
.platform-3 { width: 70px; top: 160px; left: 40px; }
.platform-4 { width: 90px; top: 180px; right: 80px; }
.platform-5 { width: 100px; top: 220px; left: 180px; }

.game-path {
    position: absolute;
    bottom: 60px;
    left: 30px;
    right: 30px;
    height: 6px;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.game-arrows {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.arrow {
    color: #00d46a;
    font-size: 24px;
    font-weight: bold;
}

.arrow.down {
    transform: rotate(180deg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(35, 68, 52, 0.6);
    border: 2px solid #00d463;
    border-radius: 20px;
    padding: 40px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form input {
    background: rgba(0, 212, 117, 0.1);
    border: 2px solid #00d47c;
    border-radius: 50px;
    padding: 18px 25px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-form input:focus {
    outline: none;
    border-color: #4de177;
    background: rgba(0, 212, 106, 0.2);
    box-shadow: 0 0 20px rgba(0, 212, 49, 0.3);
}

.contact-form input::placeholder {
    color: #00d483;
    font-weight: 500;
}

.contact-form button {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 50px;
    padding: 18px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.contact-form button:hover {
    background: #00d483;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 117, 0.4);
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

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

.footer-logo-box {
    background: #000000;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.footer-brand {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-info p {
    font-size: 14px;
    opacity: 0.7;
    color: #cccccc;
}

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

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00d47c;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ballz-demo {
        flex-direction: column;
        gap: 40px;
    }
    
    .ballz-logo {
        font-size: 80px;
    }
    
    .ballz-gameplay {
        width: 500px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        border-radius: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 14px;
    }

    .advantages h2,
    .reviews h2,
    .contact h2 {
        font-size: 36px;
        text-align: center;
        margin-left: 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .ballz-demo {
        gap: 30px;
    }

    .ballz-b, .ballz-a, .ballz-l1, .ballz-l2, .ballz-z {
        font-size: 60px;
    }

    .ballz-gameplay {
        width: 100%;
        max-width: 400px;
        height: 250px;
    }

    .ballz-content h2 {
        font-size: 28px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact p {
        text-align: center;
        margin-left: 0;
    }

    .game-preview {
        width: 100%;
        max-width: 350px;
    }

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

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

    .cookie-popup {
        width: 95%;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 13px;
    }

    .advantages,
    .ballz-section,
    .reviews,
    .gallery,
    .contact {
        padding: 60px 0;
    }

    .advantage-card,
    .review-card {
        padding: 25px;
    }

    .ballz-b, .ballz-a, .ballz-l1, .ballz-l2, .ballz-z {
        font-size: 48px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }

    .cookie-popup {
        padding: 25px;
    }

    .cookie-content h3 {
        font-size: 24px;
    }

    .cookie-content p {
        font-size: 13px;
    }
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #8bff6b, #00d47c);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00d47c, #8bff6b);
}

/* Focus States */
input:focus,
button:focus {
    outline: 2px solid #1cd400;
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .particle {
        animation: none !important;
    }
}