* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4a9eff;
    --secondary: #6bb6ff;
    --dark-bg: #0a1628;
    --darker-bg: #050d17;
    --card-bg: #0f1f35;
    --text: #e8f4f8;
    --text-muted: #8ba5b3;
    --accent: #4a9eff;
    --ocean-light: #6bb6ff;
    --ocean-dark: #1a3a52;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(15, 31, 53, 0.85) 100%), url('/Jack_banner.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    padding-bottom: 40px;
}

/* NAVBAR - INVISIBLE */
.navbar {
    position: static !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    z-index: 900;
    height: auto;
}

.nav-container {
    padding: 0 !important;
    gap: 0 !important;
    position: relative;
    height: auto;
}

.logo-img {
    height: 60px !important;
    width: 60px !important;
    position: fixed !important;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1001;
    border: 2px solid rgba(74, 158, 255, 0.3) !important;
    pointer-events: auto;
}

.nav-menu {
    display: flex !important;
    list-style: none;
    gap: 2rem;
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    background: transparent;
    padding: 0;
    border: none;
    pointer-events: auto;
    flex: none;
}

.nav-menu li {
    display: inline;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: linear-gradient(135deg, #1a3a52, #0f1f35);
    border: 2px solid rgba(74, 158, 255, 0.3);
    gap: 5px;
    z-index: 1002;
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 55px;
    width: 55px;
    justify-content: center;
    align-items: center;
}

.hamburger:hover {
    border-color: rgba(74, 158, 255, 0.6);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

/* HAMBURGER SPANS */
.hamburger span {
    width: 28px !important;
    height: 3px !important;
    background: var(--text) !important;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block !important;
    min-height: 3px !important;
}

.hamburger.active span:nth-child(1) {
    position: absolute;
    transform: rotate(45deg);
    width: 30px;
    height: 4px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    height: 4px;
}

.hamburger.active span:nth-child(3) {
    position: absolute;
    transform: rotate(-45deg);
    width: 30px;
    height: 4px;
}

.steam-signin-btn {
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    white-space: nowrap;
    min-width: fit-content;
    z-index: 1001;
    pointer-events: auto;
}

.steam-logo {
    height: 18px;
    width: auto;
    flex-shrink: 0;
}

.steam-text-short {
    display: none;
}

@media (max-width: 768px) {
    .steam-text-full {
        display: none;
    }

    .steam-text-short {
        display: inline;
    }
}

.steam-signin-btn:hover {
    background: #2a2a2a;
}

/* AUTH CONTAINER */
.auth-container {
    display: flex;
    align-items: center;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1001;
    gap: 1rem;
    pointer-events: auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(74, 158, 255, 0.4);
}

.user-name {
    color: #e8f4f8;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-logout {
    background: linear-gradient(135deg, #1a3a52, #0f1f35);
    color: #e8f4f8;
    border: 2px solid rgba(74, 158, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-logout:hover {
    border-color: rgba(74, 158, 255, 0.6);
    background: linear-gradient(135deg, #2a4a62, #1a2f45);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #0f1f35 0%, #1a3a52 100%);
    min-width: 200px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    border: 2px solid rgba(74, 158, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(74, 158, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: rgba(74, 158, 255, 0.1);
    border-left-color: var(--primary);
    color: var(--primary);
}

/* SECTIONS */
.section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

#store .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* HOME HEADER */
.home-header {
    position: relative;
    text-align: center;
    padding: 8rem 2rem;
    background: transparent;
    border-radius: 0;
    border: none;
    margin-bottom: 4rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.7) 0%, rgba(26, 58, 82, 0.5) 100%);
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.new-server-badge {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: linear-gradient(135deg, #ff6b35, #f7c948);
    color: #1a1a2e;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(247, 201, 72, 0.5);
    animation: badge-pulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 18px rgba(247, 201, 72, 0.5); }
    50%       { box-shadow: 0 0 32px rgba(247, 201, 72, 0.85); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    animation: slideDown 1s ease;
    letter-spacing: 0px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 3.5rem;
    color: #a0aec0;
    animation: slideUp 1s ease;
    font-weight: 400;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* BANNER */
.banner {
    position: relative;
    height: 120px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.8) 0%, rgba(26, 58, 82, 0.6) 100%);
}

.banner-title {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    color: white;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(74, 158, 255, 0.6), 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* BUTTONS */
.btn {
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #1a3a52, #0f1f35);
    color: #e8f4f8;
    border: 2px solid rgba(74, 158, 255, 0.3);
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.2);
}

.btn-primary:hover {
    border-color: rgba(74, 158, 255, 0.6);
    background: linear-gradient(135deg, #2a4a62, #1a2f45);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #1a3a52, #0f1f35);
    color: #e8f4f8;
    border: 2px solid rgba(74, 158, 255, 0.3);
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.2);
}

.btn-secondary:hover {
    border-color: rgba(74, 158, 255, 0.6);
    background: linear-gradient(135deg, #2a4a62, #1a2f45);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* MUSIC PLAYER */
.music-player {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.now-playing {
    display: flex;
    gap: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 0, 0, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.now-playing img {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    object-fit: contain;
}

.player-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.player-controls h3 {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.track-name {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-fill {
    width: 60%;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
}

.time-display {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.control-buttons {
    display: flex;
    gap: 1rem;
}

.control-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #1a3a52, #0f1f35);
    border: 2px solid rgba(74, 158, 255, 0.3);
    color: #e8f4f8;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.control-btn:hover {
    border-color: rgba(74, 158, 255, 0.6);
    background: linear-gradient(135deg, #2a4a62, #1a2f45);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

.control-btn.play {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #4a9eff, #2878d4);
    color: #ffffff;
    font-weight: bold;
    border-color: rgba(74, 158, 255, 0.5);
}

.playlist {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 0, 0, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.playlist h3 {
    margin-bottom: 1.5rem;
}

.track-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 8px;
    border: 2px solid rgba(255, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.track-item:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    transform: translateX(5px);
}

.track-item img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: contain;
}

.track-info {
    flex: 1;
}

.track-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.track-duration {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.play-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #4a9eff, #2878d4);
    border: 2px solid rgba(74, 158, 255, 0.5);
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.play-btn:hover {
    border-color: rgba(74, 158, 255, 0.8);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.4);
}

/* PRICING CARDS */
.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: linear-gradient(135deg, #0f1f35 0%, #1a3a52 100%);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid rgba(74, 158, 255, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(74, 158, 255, 0.4);
    box-shadow: 0 20px 40px rgba(74, 158, 255, 0.2), inset 0 0 20px rgba(74, 158, 255, 0.05);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--card-bg), rgba(0, 212, 255, 0.05));
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features li {
    padding: 0.7rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.features li:last-child {
    border-bottom: none;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* PRODUCT LAYOUT */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.product-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-info h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.7rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* SERVER GRID */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.server-card {
    background: linear-gradient(135deg, #0f1f35 0%, #1a3a52 100%);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(74, 158, 255, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.server-card:hover {
    transform: translateY(-10px);
    border-color: rgba(74, 158, 255, 0.4);
    box-shadow: 0 20px 40px rgba(74, 158, 255, 0.2), inset 0 0 20px rgba(74, 158, 255, 0.05);
}

.server-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.server-card:hover img {
    transform: scale(1.1);
}

.server-info {
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.server-info h3 {
    margin: 0;
    font-size: 1.6rem;
    flex: 1;
    min-width: 300px;
}

.server-ip {
    color: var(--primary);
    font-family: monospace;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.server-stats {
    color: var(--primary);
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
}

.server-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.server-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    auto-rows: 1fr;
}

.product-card {
    background: linear-gradient(135deg, rgba(15, 31, 53, 0.7) 0%, rgba(26, 58, 82, 0.7) 100%);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(74, 158, 255, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(74, 158, 255, 0.4);
    box-shadow: 0 20px 40px rgba(74, 158, 255, 0.2), inset 0 0 20px rgba(74, 158, 255, 0.05);
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.1rem;
}

.product-desc {
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex: 1;
    line-height: 1.5;
}

.product-price {
    padding: 1rem 1.5rem 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.3rem;
}

.product-card .btn {
    margin: 1rem;
    margin-top: auto;
}

.product-card.featured-card {
    border-color: rgba(74, 158, 255, 0.4);
}

.product-card.featured-card:hover {
    transform: translateY(-10px);
}

.captain-features {
    padding: 1.5rem;
    text-align: left;
}

.captain-features p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.captain-features strong {
    color: var(--primary);
}

.pirate-king-features {
    padding: 0.5rem 1.5rem 1rem 1.5rem;
    text-align: left;
    margin-top: -0.3rem;
}

.pirate-king-features p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.pirate-king-features strong {
    color: var(--primary);
}

.pirate-king-features .golden {
    color: #ffd700;
}

/* STORE SUPPORT MESSAGE */
.store-support-message {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-left: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
    background: rgba(74, 158, 255, 0.05);
    border-radius: 6px;
}

/* PIRATE KING CARD */
.pirate-king-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(184, 134, 11, 0.12) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pirate-king-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pirate-king-crown {
    font-size: 7rem;
    margin-bottom: 0.3rem;
    animation: crown-float 3s ease-in-out infinite;
    line-height: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.pirate-king-title {
    font-size: 1.4rem;
    color: #ffd700;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    font-weight: 700;
    margin-top: 0;
}

.pirate-king-holder {
    font-size: 0.95rem;
    color: #e8f4f8;
    margin-bottom: 0.3rem;
}

#pirate-king-name {
    color: #ffd700;
    font-weight: bold;
}

.pirate-king-stats {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

#pirate-king-total {
    color: #ffd700;
    font-weight: bold;
}

.pirate-king-bonus {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

#pirate-king-bonus {
    color: #ffd700;
}

.pirate-king-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.btn-donor-only {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.15) 0%, rgba(74, 158, 255, 0.1) 100%);
    color: rgba(74, 158, 255, 0.6);
    border: 2px solid rgba(74, 158, 255, 0.3);
    padding: 0.9rem 2.2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: not-allowed;
    opacity: 0.7;
    margin-top: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* CLIMATE BANNER */
.climate-hero {
    color: #4caf75;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 1.2rem;
    opacity: 0.85;
}

.climate-banner {
    text-align: center;
    color: #4caf75;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.6rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(76, 175, 117, 0.25);
    border-radius: 8px;
    background: rgba(76, 175, 117, 0.07);
}

/* STORE SECTIONS */
.store-dropdowns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}

#store .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    position: relative;
}

#store .store-dropdowns {
    grid-column: 1;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

#store .store-support-message {
    display: none;
}

#pirate-king-card {
    position: static;
    margin: 0;
    width: 100%;
    max-width: none;
    padding: 1.5rem;
    order: -1;
}

.dropdown-btn {
    background: linear-gradient(135deg, #1a3a52, #0f1f35);
    color: #e8f4f8;
    border: 2px solid rgba(74, 158, 255, 0.3);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.2);
}

.dropdown-btn:hover {
    border-color: rgba(74, 158, 255, 0.6);
    background: linear-gradient(135deg, #2a4a62, #1a2f45);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

.dropdown-btn.active {
    background: linear-gradient(135deg, #4a9eff, #2878d4);
    border-color: rgba(74, 158, 255, 0.8);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.4);
}

/* Store layout wrapper */
.store-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.store-section {
    width: 100%;
    margin-bottom: 0;
    animation: fadeIn 0.3s ease;
    grid-column: 1;
}

.store-section#vip-section {
    min-width: 0;
}

#store .store-section {
    display: block;
    width: 100%;
}

#store .store-section#vip-section .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

#store .store-section#plugins-section .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

#store .store-section#plugins-section .product-card .plugin-img-wrap {
    width: 100%;
    height: 200px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

#store .store-section#plugins-section .product-card .plugin-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    height: auto;
    width: auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #e8f4f8;
    text-align: center;
}

/* Image lightbox */
.img-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    padding: 2rem;
}

.img-lightbox-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
    width: 100%;
    cursor: default;
}

.img-lightbox img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
    cursor: zoom-out;
}

.img-lightbox-desc {
    color: #d0e8f8;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    white-space: pre-line;
    max-width: 680px;
}

.plugin-img-zoomable {
    cursor: zoom-in;
}

/* Plugin cards need relative positioning for badges */
#store .store-section#plugins-section .product-card {
    position: relative;
}

/* Golden border on SkillTree only */
#store .store-section#plugins-section .product-card:first-child {
    border-color: rgba(212, 175, 55, 0.4);
}

#store .store-section#plugins-section .product-card:first-child:hover {
    border-color: rgba(212, 175, 55, 0.8);
}

/* Bundle / badge cards */
.bundle-card {
    position: relative;
}

.bundle-card:hover {
}

.bundle-badge {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    background: #d4af37;
    color: #1a1a2e;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.btn-changelog {
    background: transparent;
    border: 1px solid rgba(74, 158, 255, 0.3);
    color: #5a9fd4;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    margin: 0.5rem 1rem 0;
    transition: border-color 0.2s, color 0.2s;
}

.btn-changelog:hover {
    border-color: rgba(74, 158, 255, 0.7);
    color: #8ac4f0;
}

.changelog-panel {
    margin: 0.5rem 1rem;
    max-height: 220px;
    overflow-y: auto;
    border-top: 1px solid rgba(74, 158, 255, 0.1);
    padding-top: 0.4rem;
}

.changelog-entry {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.78rem;
}

.changelog-date {
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
}

.changelog-title {
    color: #bbb;
}

.product-legal-note {
    font-size: 0.78rem;
    color: #666;
    text-align: center;
    margin-top: 1.2rem;
    font-style: italic;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-align: center;
}

/* LINKS SECTION */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.link-card {
    background: linear-gradient(135deg, #0f1f35 0%, #1a3a52 100%);
    border: 2px solid rgba(74, 158, 255, 0.15);
    border-radius: 10px;
    padding: 2rem;
    text-decoration: none;
    color: #e8f4f8;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.link-card:hover {
    transform: translateY(-10px);
    border-color: rgba(74, 158, 255, 0.4);
    box-shadow: 0 20px 40px rgba(74, 158, 255, 0.2), inset 0 0 20px rgba(74, 158, 255, 0.05);
}

.link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.link-card p {
    color: var(--text-muted);
}

/* COMING SOON */
.coming-soon {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-muted);
    padding: 4rem 2rem;
}

/* CHECKOUT MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    pointer-events: none;
}

.modal[style*="display: flex"] {
    pointer-events: auto;
}

.modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto !important;
}

.modal-content {
    background: linear-gradient(135deg, #0f1f35 0%, #1a3a52 100%);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid rgba(74, 158, 255, 0.2);
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(74, 158, 255, 0.15);
    position: relative;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.modal-content p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.modal-content form {
    margin-top: 2rem;
}

.modal-content label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.modal-content input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    background: rgba(74, 158, 255, 0.05);
    border: 2px solid rgba(74, 158, 255, 0.2);
    border-radius: 6px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(74, 158, 255, 0.1);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

.modal-content .btn {
    width: 100%;
    margin-top: 1rem;
}

/* CONNECT MODAL STYLES */
.connect-ip-display {
    background: rgba(74, 158, 255, 0.1);
    padding: 1rem;
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.connect-ip-display code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #4a9eff;
    font-weight: bold;
}

.connect-instructions {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(74, 158, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.connect-instructions h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.connect-instructions p {
    margin: 0.5rem 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.connect-instructions code {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #ffd700;
}

/* NOTIFICATION BANNER */
.notification-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0f1f35 0%, #1a3a52 100%);
    border-bottom: 3px solid #4a9eff;
    padding: 1.5rem 2rem;
    z-index: 1500;
    box-shadow: 0 4px 20px rgba(74, 158, 255, 0.2);
    animation: slideDownNotif 0.4s ease;
}

@keyframes slideDownNotif {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #f5f5f5;
    font-size: 1.1rem;
    font-weight: 600;
}

.notification-close {
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    margin-left: 2rem;
}

.notification-close:hover {
    color: #4a9eff;
}

.notification-banner.success {
    background: linear-gradient(135deg, #0f2a1a 0%, #1a2a1f 100%);
    border-bottom-color: #4a9eff;
}

.notification-banner.success .notification-content {
    color: #4a9eff;
}

.notification-banner.error {
    background: linear-gradient(135deg, #2a1a1a 0%, #1a1a1a 100%);
    border-bottom-color: #ff0000;
}

.notification-banner.error .notification-content {
    color: #ff6b6b;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    /* MOBILE ADJUSTMENTS */
    body {
        padding-top: 80px;
    }

    /* HAMBURGER MENU MOBILE */
    .hamburger {
        display: flex !important;
    }

    .nav-menu {
        display: none !important;
        gap: 0 !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 4.5rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 1001;
        background: rgba(10, 22, 40, 0.95) !important;
        padding: 1rem 1.5rem !important;
        border: 1px solid rgba(74, 158, 255, 0.3) !important;
        border-radius: 8px;
        min-width: 140px;
        text-align: center;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.active {
        display: flex !important;
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0) !important;
        pointer-events: auto !important;
    }

    .nav-menu li {
        padding: 0.8rem 0;
    }

    .nav-menu .nav-link {
        font-size: 1rem;
        font-weight: 500;
    }

    /* PRODUCT GRID MOBILE */
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .music-player {
        grid-template-columns: 1fr;
    }

    .now-playing {
        flex-direction: column;
    }

    .now-playing img {
        width: 100%;
        height: auto;
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    .banner-title {
        font-size: 1.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .container {
        padding: 2rem 1rem;
    }

    /* Hide 75% of bubbles on mobile - keep only first 9 */
    .bubble:nth-child(n+10) {
        display: none;
    }

    .home-header {
        padding: 3rem 1rem;
        min-height: auto;
    }

    /* Mobile server info layout */
    .server-info > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }

    .server-info > div[style*="grid-template-columns"] p {
        text-align: center !important;
        white-space: normal !important;
    }

    .server-info > div[style*="grid-template-columns"] button {
        width: 100% !important;
        grid-column: 1 !important;
    }
}

/* FOOTER */
.footer {
    background: transparent;
    border-top: none;
    padding: 1rem 2rem;
    text-align: center;
    color: rgba(160, 174, 190, 0.4);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    font-size: 0.75rem;
}

html {
    height: 100%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.75rem;
}

.footer-content p {
    margin: 0;
    font-size: 0.75rem;
}

.footer-content a {
    color: rgba(160, 174, 190, 0.3);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.footer-content a:hover {
    color: rgba(160, 174, 190, 0.7);
}

/* Bubbles Animation */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: -10;
}

.bubble {
    position: absolute;
    top: 100vh;
    border: 1.5px solid rgba(60, 140, 180, 0.7);
    border-radius: 50%;
    background: rgba(70, 140, 180, 0.08);
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
    opacity: 0.6;
}

.bubble::after {
    content: '';
    position: absolute;
    top: var(--gloss-top, 10%);
    left: var(--gloss-left, 15%);
    width: var(--gloss-width, 30%);
    height: var(--gloss-height, 30%);
    background: radial-gradient(circle, rgba(255, 255, 255, var(--gloss-opacity, 0.3)), transparent);
    border-radius: 50%;
    filter: blur(var(--gloss-blur, 1px));
}

/* Generate random properties for each bubble */
.bubble:nth-child(1) { left: 71%; width: 20px; height: 20px; border-color: rgba(70, 150, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(90, 160, 210, 0.22), rgba(60, 120, 160, 0.02)); animation: float 16s linear infinite, sway-left-large 4.2s ease-in-out infinite, spin-random 3.2s linear infinite; animation-delay: 0.3s; --gloss-opacity: 0.18; }
.bubble:nth-child(2) { left: 4%; width: 15px; height: 15px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 20s linear infinite, sway-right-large 5.2s ease-in-out infinite, spin-reverse 2.8s linear infinite; animation-delay: 0.6s; --gloss-opacity: 0; }
.bubble:nth-child(3) { left: 27%; width: 25px; height: 25px; border-color: rgba(65, 145, 190, 0.7); background: radial-gradient(circle at 30% 30%, rgba(95, 165, 210, 0.22), rgba(65, 125, 170, 0.02)); animation: float 14s linear infinite, sway-left-small 2.8s ease-in-out infinite, spin-random 2.2s linear infinite; animation-delay: 0.9s; --gloss-opacity: 0.20; }
.bubble:nth-child(4) { left: 88%; width: 18px; height: 18px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 18s linear infinite, sway-right-large 5.8s ease-in-out infinite, spin-reverse 3.5s linear infinite; animation-delay: 1.2s; --gloss-opacity: 0; }
.bubble:nth-child(5) { left: 94%; width: 22px; height: 22px; border-color: rgba(75, 155, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(100, 170, 220, 0.22), rgba(70, 130, 180, 0.02)); animation: float 17s linear infinite, sway-left-large 4.5s ease-in-out infinite, spin-random 2.6s linear infinite; animation-delay: 1.5s; --gloss-opacity: 0.16; }
.bubble:nth-child(6) { left: 73%; width: 16px; height: 16px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 21s linear infinite, sway-right-small 3.5s ease-in-out infinite, spin-reverse 4.2s linear infinite; animation-delay: 1.8s; --gloss-opacity: 0; }
.bubble:nth-child(7) { left: 4%; width: 24px; height: 24px; border-color: rgba(70, 150, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(90, 160, 210, 0.22), rgba(60, 120, 160, 0.02)); animation: float 15s linear infinite, sway-left-large 4.8s ease-in-out infinite, spin-random 2.4s linear infinite; animation-delay: 2.1s; --gloss-opacity: 0.19; }
.bubble:nth-child(8) { left: 53%; width: 17px; height: 17px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 19s linear infinite, sway-right-large 6s ease-in-out infinite, spin-reverse 3.1s linear infinite; animation-delay: 2.4s; --gloss-opacity: 0; }
.bubble:nth-child(9) { left: 1%; width: 21px; height: 21px; border-color: rgba(65, 145, 190, 0.7); background: radial-gradient(circle at 30% 30%, rgba(95, 165, 210, 0.22), rgba(65, 125, 170, 0.02)); animation: float 16s linear infinite, sway-left-small 2.6s ease-in-out infinite, spin-random 2.8s linear infinite; animation-delay: 2.7s; --gloss-opacity: 0.21; }
.bubble:nth-child(10) { left: 53%; width: 19px; height: 19px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 20s linear infinite, sway-right 4.2s ease-in-out infinite, spin-reverse 3.8s linear infinite; animation-delay: 3.0s; --gloss-opacity: 0; }
.bubble:nth-child(11) { left: 44%; width: 23px; height: 23px; border-color: rgba(75, 155, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(100, 170, 220, 0.22), rgba(70, 130, 180, 0.02)); animation: float 15.6s linear infinite, sway-left-large 4.2s ease-in-out infinite, spin-random 2.5s linear infinite; animation-delay: 3.3s; --gloss-opacity: 0.17; }
.bubble:nth-child(12) { left: 63%; width: 14px; height: 14px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 18.4s linear infinite, sway-right-large 5.5s ease-in-out infinite, spin-reverse 3.3s linear infinite; animation-delay: 3.6s; --gloss-opacity: 0; }
.bubble:nth-child(13) { left: 34%; width: 26px; height: 26px; border-color: rgba(70, 150, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(90, 160, 210, 0.22), rgba(60, 120, 160, 0.02)); animation: float 17s linear infinite, sway-left-small 3s ease-in-out infinite, spin-random 2.2s linear infinite; animation-delay: 3.9s; --gloss-opacity: 0.22; }
.bubble:nth-child(14) { left: 22%; width: 18px; height: 18px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 20.4s linear infinite, sway-right 4.5s ease-in-out infinite, spin-reverse 3.6s linear infinite; animation-delay: 4.2s; --gloss-opacity: 0; }
.bubble:nth-child(15) { left: 38%; width: 20px; height: 20px; border-color: rgba(65, 145, 190, 0.7); background: radial-gradient(circle at 30% 30%, rgba(95, 165, 210, 0.22), rgba(65, 125, 170, 0.02)); animation: float 15s linear infinite, sway-left-large 4.7s ease-in-out infinite, spin-random 2.9s linear infinite; animation-delay: 4.5s; --gloss-opacity: 0.18; }
.bubble:nth-child(16) { left: 17%; width: 17px; height: 17px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 19.6s linear infinite, sway-right-large 5.9s ease-in-out infinite, spin-reverse 4.1s linear infinite; animation-delay: 4.8s; --gloss-opacity: 0; }
.bubble:nth-child(17) { left: 38%; width: 24px; height: 24px; border-color: rgba(75, 155, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(100, 170, 220, 0.22), rgba(70, 130, 180, 0.02)); animation: float 16.4s linear infinite, sway-left-small 2.9s ease-in-out infinite, spin-random 2.3s linear infinite; animation-delay: 5.1s; --gloss-opacity: 0.20; }
.bubble:nth-child(18) { left: 80%; width: 19px; height: 19px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 20s linear infinite, sway-right 4.3s ease-in-out infinite, spin-reverse 2.9s linear infinite; animation-delay: 5.4s; --gloss-opacity: 0; }
.bubble:nth-child(19) { left: 36%; width: 22px; height: 22px; border-color: rgba(70, 150, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(90, 160, 210, 0.22), rgba(60, 120, 160, 0.02)); animation: float 15.6s linear infinite, sway-left-large 4.1s ease-in-out infinite, spin-random 2.7s linear infinite; animation-delay: 5.7s; --gloss-opacity: 0.24; }
.bubble:nth-child(20) { left: 48%; width: 21px; height: 21px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 19s linear infinite, sway-right-large 5.4s ease-in-out infinite, spin-reverse 3.4s linear infinite; animation-delay: 6.0s; --gloss-opacity: 0; }
.bubble:nth-child(21) { left: 12%; width: 16px; height: 16px; border-color: rgba(65, 145, 190, 0.7); background: radial-gradient(circle at 30% 30%, rgba(95, 165, 210, 0.22), rgba(65, 125, 170, 0.02)); animation: float 17s linear infinite, sway-left-small 2.7s ease-in-out infinite, spin-random 2.4s linear infinite; animation-delay: 6.3s; --gloss-opacity: 0.19; }
.bubble:nth-child(22) { left: 33%; width: 25px; height: 25px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 21s linear infinite, sway-right 4.6s ease-in-out infinite, spin-reverse 3.7s linear infinite; animation-delay: 6.6s; --gloss-opacity: 0; }
.bubble:nth-child(23) { left: 10%; width: 18px; height: 18px; border-color: rgba(75, 155, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(100, 170, 220, 0.22), rgba(70, 130, 180, 0.02)); animation: float 15.6s linear infinite, sway-left-large 4.3s ease-in-out infinite, spin-random 2.2s linear infinite; animation-delay: 6.9s; --gloss-opacity: 0.21; }
.bubble:nth-child(24) { left: 7%; width: 23px; height: 23px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 18.4s linear infinite, sway-right-large 5.7s ease-in-out infinite, spin-reverse 3.2s linear infinite; animation-delay: 7.2s; --gloss-opacity: 0; }
.bubble:nth-child(25) { left: 81%; width: 17px; height: 17px; border-color: rgba(70, 150, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(90, 160, 210, 0.22), rgba(60, 120, 160, 0.02)); animation: float 17.6s linear infinite, sway-left-small 3.1s ease-in-out infinite, spin-random 2.6s linear infinite; animation-delay: 7.5s; --gloss-opacity: 0.17; }
.bubble:nth-child(26) { left: 61%; width: 20px; height: 20px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 20.4s linear infinite, sway-right 4.4s ease-in-out infinite, spin-reverse 3.9s linear infinite; animation-delay: 7.8s; --gloss-opacity: 0; }
.bubble:nth-child(27) { left: 29%; width: 24px; height: 24px; border-color: rgba(65, 145, 190, 0.7); background: radial-gradient(circle at 30% 30%, rgba(95, 165, 210, 0.22), rgba(65, 125, 170, 0.02)); animation: float 15s linear infinite, sway-left-large 4.6s ease-in-out infinite, spin-random 2.8s linear infinite; animation-delay: 8.1s; --gloss-opacity: 0.20; }
.bubble:nth-child(28) { left: 12%; width: 19px; height: 19px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 19s linear infinite, sway-right-large 5.3s ease-in-out infinite, spin-reverse 3.0s linear infinite; animation-delay: 8.4s; --gloss-opacity: 0; }
.bubble:nth-child(29) { left: 30%; width: 21px; height: 21px; border-color: rgba(75, 155, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(100, 170, 220, 0.22), rgba(70, 130, 180, 0.02)); animation: float 16.4s linear infinite, sway-left-small 2.8s ease-in-out infinite, spin-random 2.5s linear infinite; animation-delay: 8.7s; --gloss-opacity: 0.23; }
.bubble:nth-child(30) { left: 31%; width: 16px; height: 16px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 20s linear infinite, sway-right 4.7s ease-in-out infinite, spin-reverse 3.5s linear infinite; animation-delay: 9.0s; --gloss-opacity: 0; }
.bubble:nth-child(31) { left: 40%; width: 22px; height: 22px; border-color: rgba(70, 150, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(90, 160, 210, 0.22), rgba(60, 120, 160, 0.02)); animation: float 17s linear infinite, sway-left-large 4.4s ease-in-out infinite, spin-random 2.3s linear infinite; animation-delay: 9.3s; --gloss-opacity: 0.18; }
.bubble:nth-child(32) { left: 57%; width: 18px; height: 18px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 19.6s linear infinite, sway-right-large 5.6s ease-in-out infinite, spin-reverse 3.8s linear infinite; animation-delay: 9.6s; --gloss-opacity: 0; }
.bubble:nth-child(33) { left: 78%; width: 26px; height: 26px; border-color: rgba(65, 145, 190, 0.7); background: radial-gradient(circle at 30% 30%, rgba(95, 165, 210, 0.22), rgba(65, 125, 170, 0.02)); animation: float 15.6s linear infinite, sway-left-small 2.5s ease-in-out infinite, spin-random 2.1s linear infinite; animation-delay: 9.9s; --gloss-opacity: 0.22; }
.bubble:nth-child(34) { left: 85%; width: 17px; height: 17px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 21s linear infinite, sway-right 4.8s ease-in-out infinite, spin-reverse 3.3s linear infinite; animation-delay: 10.2s; --gloss-opacity: 0; }
.bubble:nth-child(35) { left: 17%; width: 23px; height: 23px; border-color: rgba(75, 155, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(100, 170, 220, 0.22), rgba(70, 130, 180, 0.02)); animation: float 16.4s linear infinite, sway-left-large 4.9s ease-in-out infinite, spin-random 2.7s linear infinite; animation-delay: 10.5s; --gloss-opacity: 0.19; }
.bubble:nth-child(36) { left: 62%; width: 20px; height: 20px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 18.4s linear infinite, sway-right-large 5.1s ease-in-out infinite, spin-reverse 2.8s linear infinite; animation-delay: 10.8s; --gloss-opacity: 0; }
.bubble:nth-child(37) { left: 59%; width: 25px; height: 25px; border-color: rgba(70, 150, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(90, 160, 210, 0.22), rgba(60, 120, 160, 0.02)); animation: float 17.6s linear infinite, sway-left-small 3.2s ease-in-out infinite, spin-random 2.4s linear infinite; animation-delay: 11.1s; --gloss-opacity: 0.21; }
.bubble:nth-child(38) { left: 91%; width: 19px; height: 19px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 20.4s linear infinite, sway-right 4.1s ease-in-out infinite, spin-reverse 3.6s linear infinite; animation-delay: 11.4s; --gloss-opacity: 0; }
.bubble:nth-child(39) { left: 7%; width: 21px; height: 21px; border-color: rgba(65, 145, 190, 0.7); background: radial-gradient(circle at 30% 30%, rgba(95, 165, 210, 0.22), rgba(65, 125, 170, 0.02)); animation: float 15s linear infinite, sway-left-large 4.7s ease-in-out infinite, spin-random 2.9s linear infinite; animation-delay: 11.7s; --gloss-opacity: 0.24; }
.bubble:nth-child(40) { left: 58%; width: 18px; height: 18px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 19s linear infinite, sway-right-large 5.5s ease-in-out infinite, spin-reverse 3.1s linear infinite; animation-delay: 12.0s; --gloss-opacity: 0; }
.bubble:nth-child(41) { left: 46%; width: 24px; height: 24px; border-color: rgba(75, 155, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(100, 170, 220, 0.22), rgba(70, 130, 180, 0.02)); animation: float 17s linear infinite, sway-left-small 2.6s ease-in-out infinite, spin-random 2.2s linear infinite; animation-delay: 12.3s; --gloss-opacity: 0.18; }
.bubble:nth-child(42) { left: 79%; width: 16px; height: 16px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 20s linear infinite, sway-right 4.2s ease-in-out infinite, spin-reverse 3.4s linear infinite; animation-delay: 12.6s; --gloss-opacity: 0; }
.bubble:nth-child(43) { left: 63%; width: 22px; height: 22px; border-color: rgba(70, 150, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(90, 160, 210, 0.22), rgba(60, 120, 160, 0.02)); animation: float 15.6s linear infinite, sway-left-large 4.4s ease-in-out infinite, spin-random 2.8s linear infinite; animation-delay: 12.9s; --gloss-opacity: 0.20; }
.bubble:nth-child(44) { left: 8%; width: 20px; height: 20px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 18.4s linear infinite, sway-right-large 5.8s ease-in-out infinite, spin-reverse 3.7s linear infinite; animation-delay: 13.2s; --gloss-opacity: 0; }
.bubble:nth-child(45) { left: 70%; width: 25px; height: 25px; border-color: rgba(65, 145, 190, 0.7); background: radial-gradient(circle at 30% 30%, rgba(95, 165, 210, 0.22), rgba(65, 125, 170, 0.02)); animation: float 16.4s linear infinite, sway-left-small 3.3s ease-in-out infinite, spin-random 2.5s linear infinite; animation-delay: 13.5s; --gloss-opacity: 0.22; }
.bubble:nth-child(46) { left: 28%; width: 17px; height: 17px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 21s linear infinite, sway-right 4.3s ease-in-out infinite, spin-reverse 2.9s linear infinite; animation-delay: 13.8s; --gloss-opacity: 0; }
.bubble:nth-child(47) { left: 21%; width: 21px; height: 21px; border-color: rgba(75, 155, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(100, 170, 220, 0.22), rgba(70, 130, 180, 0.02)); animation: float 17.6s linear infinite, sway-left-large 4.8s ease-in-out infinite, spin-random 2.3s linear infinite; animation-delay: 14.1s; --gloss-opacity: 0.19; }
.bubble:nth-child(48) { left: 0%; width: 19px; height: 19px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 19.6s linear infinite, sway-right-large 5.9s ease-in-out infinite, spin-reverse 3.2s linear infinite; animation-delay: 14.4s; --gloss-opacity: 0; }
.bubble:nth-child(49) { left: 11%; width: 23px; height: 23px; border-color: rgba(70, 150, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(90, 160, 210, 0.22), rgba(60, 120, 160, 0.02)); animation: float 15s linear infinite, sway-left-small 2.9s ease-in-out infinite, spin-random 2.6s linear infinite; animation-delay: 14.7s; --gloss-opacity: 0.23; }
.bubble:nth-child(50) { left: 42%; width: 18px; height: 18px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 20.4s linear infinite, sway-right 4.4s ease-in-out infinite, spin-reverse 3.5s linear infinite; animation-delay: 15.0s; --gloss-opacity: 0; }
.bubble:nth-child(51) { left: 44%; width: 26px; height: 26px; border-color: rgba(65, 145, 190, 0.7); background: radial-gradient(circle at 30% 30%, rgba(95, 165, 210, 0.22), rgba(65, 125, 170, 0.02)); animation: float 17s linear infinite, sway-left-large 4.5s ease-in-out infinite, spin-random 2.2s linear infinite; animation-delay: 15.3s; --gloss-opacity: 0.20; }
.bubble:nth-child(52) { left: 69%; width: 20px; height: 20px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 19s linear infinite, sway-right-large 5.4s ease-in-out infinite, spin-reverse 3.3s linear infinite; animation-delay: 15.6s; --gloss-opacity: 0; }
.bubble:nth-child(53) { left: 24%; width: 24px; height: 24px; border-color: rgba(75, 155, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(100, 170, 220, 0.22), rgba(70, 130, 180, 0.02)); animation: float 16.4s linear infinite, sway-left-small 2.7s ease-in-out infinite, spin-random 2.7s linear infinite; animation-delay: 15.9s; --gloss-opacity: 0.21; }
.bubble:nth-child(54) { left: 31%; width: 17px; height: 17px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 21.6s linear infinite, sway-right 4.5s ease-in-out infinite, spin-reverse 3.8s linear infinite; animation-delay: 16.2s; --gloss-opacity: 0; }
.bubble:nth-child(55) { left: 90%; width: 21px; height: 21px; border-color: rgba(70, 150, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(90, 160, 210, 0.22), rgba(60, 120, 160, 0.02)); animation: float 15.6s linear infinite, sway-left-large 4.2s ease-in-out infinite, spin-random 2.4s linear infinite; animation-delay: 16.5s; --gloss-opacity: 0.17; }
.bubble:nth-child(56) { left: 77%; width: 19px; height: 19px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 18.4s linear infinite, sway-right-large 5.2s ease-in-out infinite, spin-reverse 2.7s linear infinite; animation-delay: 16.8s; --gloss-opacity: 0; }
.bubble:nth-child(57) { left: 54%; width: 22px; height: 22px; border-color: rgba(65, 145, 190, 0.7); background: radial-gradient(circle at 30% 30%, rgba(95, 165, 210, 0.22), rgba(65, 125, 170, 0.02)); animation: float 17.6s linear infinite, sway-left-small 3.4s ease-in-out infinite, spin-random 2.9s linear infinite; animation-delay: 17.1s; --gloss-opacity: 0.24; }
.bubble:nth-child(58) { left: 68%; width: 25px; height: 25px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 20.4s linear infinite, sway-right 4.0s ease-in-out infinite, spin-reverse 3.1s linear infinite; animation-delay: 17.4s; --gloss-opacity: 0; }
.bubble:nth-child(59) { left: 18%; width: 16px; height: 16px; border-color: rgba(75, 155, 200, 0.7); background: radial-gradient(circle at 30% 30%, rgba(100, 170, 220, 0.22), rgba(70, 130, 180, 0.02)); animation: float 15s linear infinite, sway-left-large 4.3s ease-in-out infinite, spin-random 2.6s linear infinite; animation-delay: 17.7s; --gloss-opacity: 0.20; }
.bubble:nth-child(60) { left: 62%; width: 20px; height: 20px; border-color: rgba(60, 140, 180, 0.7); background: radial-gradient(circle at 30% 30%, rgba(80, 150, 190, 0.2), rgba(50, 110, 150, 0.02)); animation: float 19.6s linear infinite, sway-right-large 5.7s ease-in-out infinite, spin-reverse 3.4s linear infinite; animation-delay: 18.0s; --gloss-opacity: 0; }

.bubble.popping {
    animation: pop 0.4s ease-out forwards !important;
}

@keyframes pop {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes float {
    0% {
        top: 100vh;
        opacity: 0;
        transform: scale(1);
    }
    5% {
        opacity: 1;
    }
    85% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        top: -50px;
        opacity: 0;
        transform: scale(0);
    }
}

@keyframes crown-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes sway-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-200px); }
}

@keyframes sway-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(200px); }
}

@keyframes sway-left-large {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-280px); }
}

@keyframes sway-right-large {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(280px); }
}

@keyframes sway-left-small {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-80px); }
}

@keyframes sway-right-small {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(80px); }
}

@keyframes spin-random {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}
}
