body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #171e2b;
    font-family: Arial, sans-serif;
    position: relative;
    overflow: hidden;
}
#background-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.container {
    text-align: center;
    position: relative;
    z-index: 2;
}
.logo {
    max-width: 550px;
    height: auto;
}
.coming-soon {
    color: #ffffff;
    font-size: 24px;
    margin-top: 20px;
}
/* logo pop out */
.logo-container {
  position: relative;
  display: inline-block;
}

.indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-container:hover .indicator {
  opacity: 1;
}

.logo {
  position: relative;
  height: auto; /* Maintain aspect ratio */
  transition: transform 1s ease-in-out, left 1s ease-in-out, bottom 1s ease-in-out;
}

.logo:hover, .circle:hover {
    cursor: pointer;
}

.logo-animation {
    width: 550px;
    height: auto;
    transition: transform 1s ease-in-out;
    transform-origin: bottom right;
}

.logo-shrink.logo-move {
    animation: logo-shrink-and-move 1s ease-in-out forwards;
}

@keyframes logo-shrink-and-move {
    0% {
transform: scale(1) translate(0, 0);
    }
    100% {
transform: scale(0.5) translateX(calc(100vw - 275px - 50%)) translateY(calc(100vh - 50px - 50%));
    }
}
/* end logo pop out */

/* reset dialong box */
#reset-dialog {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

#reset-dialog-content {
    background-color: rgba(100,100,100,0.5);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    color: #fff;
    width: 210px;
    text-align: center;
    border-radius: 20px;
}

.button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-grey {
    /* background-color: #808080; */
    background: transparent;
    color: white;
    padding-left: 0px;
    padding-right: 10px;
    margin-right: 12px;
}

.button-no {
    background-color: #af4c5f;
    color: white;
    padding: 10px 70px;
}
.button-close {
    background-color: transparent;
    color: white;
    position: relative;
    float: right;
    margin-top: -177px;
    margin-right: -21px;
    border-top-right-radius: 20px;
    padding-top: 14px;
    padding-right: 12px;
    padding-left: 12px;
    font-weight: bolder;
    font-size: 20px;
}
/* end reset dialog */

/* background logo 
.container {
  position: relative;
  height: 50vh;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("logo.png"); 
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: -1; 
}

.container > * {
  position: relative;
  z-index: 1; 
}*/

.menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1;
}

.menu-btn__burger {
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 101, 47, 0.2);
  transition: all 0.5s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 101, 47, 0.2);
  transition: all 0.5s ease-in-out;
}

.menu-btn__burger::before {
  transform: translateY(-8px);
}

.menu-btn__burger::after {
  transform: translateY(8px);
}


/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(23, 30, 43, 0.7);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 40px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: #ffffff;
}

/* Slide Panel */
.slide-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 500px;
    height: 100vh;
    background: rgba(23, 30, 43, 0.95);
    backdrop-filter: blur(20px);
    z-index: 200;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.slide-panel.active {
    right: 0;
}

.panel-content {
    padding: 80px 40px 40px 40px;
    color: #ffffff;
}

.panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: color 0.3s ease;
}

.panel-close:hover {
    color: #ffffff;
}

#panel-body h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #ffffff;
}

#panel-body h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

#panel-body p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

#panel-body ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#panel-body ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

#panel-body ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #774dc4;
}

.app-card {
    margin-top: 30px;
}

.app-download {
    margin-top: 30px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #774dc4;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(119, 77, 196, 0.3);
}

.contact-info a {
    color: #4d82c4;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .slide-panel {
        width: 100%;
        right: -100%;
    }
    
    .header-nav {
        gap: 20px;
    }
    
    .header-nav a {
        font-size: 14px;
    }
    
    .site-header {
        padding: 15px 20px;
    }
    
    .panel-content {
        padding: 60px 30px 30px 30px;
    }
}

/* Game Stats Overlay */
.game-stats {
    position: fixed;
    top: 100px;
    left: 20px;
    display: flex;
    gap: 15px;
    z-index: 50;
}

.stat-box {
    background: rgba(23, 30, 43, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 20px;
    min-width: 100px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

/* Bubble Counts */
.bubble-counts {
    position: fixed;
    top: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 50;
}

.bubble-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(23, 30, 43, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.bubble-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.small-bubble .bubble-icon {
    width: 8px;
    height: 8px;
    background: #1b2541;
}

.medium-bubble .bubble-icon {
    width: 12px;
    height: 12px;
    background: #4d82c4;
}

.large-bubble .bubble-icon {
    width: 16px;
    height: 16px;
    background: #774dc4;
}

/* Reset Button */
.reset-button {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(175, 76, 95, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    z-index: 50;
    transition: all 0.3s ease;
}

.reset-button:hover {
    background: rgba(175, 76, 95, 1);
    transform: rotate(180deg);
    box-shadow: 0 4px 15px rgba(175, 76, 95, 0.4);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .game-stats {
        top: 80px;
        left: 10px;
        gap: 10px;
    }
    
    .stat-box {
        padding: 8px 12px;
        min-width: 80px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .bubble-counts {
        top: 80px;
        right: 10px;
        gap: 8px;
    }
    
    .bubble-stat {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .reset-button {
        bottom: 20px;
        left: 10px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* NEW Game Stats and Bubble Grid */
.game-stats {
    position: fixed;
    top: 90px;
    left: 20px;
    display: flex;
    gap: 12px;
    z-index: 50;
}

.stat-group {
    background: rgba(23, 30, 43, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 18px;
    min-width: 90px;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.bubble-grid {
    position: fixed;
    top: 90px;
    right: 20px;
    display: grid;
    grid-template-columns: 30px repeat(3, 35px);
    gap: 6px;
    background: rgba(23, 30, 43, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px;
    z-index: 50;
}

.grid-header {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 4px 0;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: auto;
}

.color-dot.dark { background: #1b2541; }
.color-dot.blue { background: #4d82c4; }
.color-dot.purple { background: #774dc4; }

.count-cell {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    padding: 4px 0;
}

.reset-btn {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(175, 76, 95, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    z-index: 50;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-btn:hover {
    background: rgba(175, 76, 95, 1);
    transform: rotate(180deg) scale(1.05);
    box-shadow: 0 4px 20px rgba(175, 76, 95, 0.5);
}

@media (max-width: 768px) {
    .game-stats {
        top: 75px;
        left: 10px;
        gap: 8px;
    }
    .stat-group {
        padding: 8px 14px;
        min-width: 75px;
    }
    .stat-label { font-size: 9px; }
    .stat-value { font-size: 18px; }
    .bubble-grid {
        top: 75px;
        right: 10px;
        grid-template-columns: 25px repeat(3, 30px);
        gap: 4px;
        padding: 8px;
    }
    .color-dot {
        width: 12px;
        height: 12px;
    }
    .count-cell, .grid-header { font-size: 11px; }
    .reset-btn {
        bottom: 20px;
        left: 10px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}


/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(23, 30, 43, 0.7);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 40px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: #ffffff;
}

/* Slide Panel */
.slide-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 500px;
    height: 100vh;
    background: rgba(23, 30, 43, 0.95);
    backdrop-filter: blur(20px);
    z-index: 200;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.slide-panel.active {
    right: 0;
}

.panel-content {
    padding: 80px 40px 40px 40px;
    color: #ffffff;
}

.panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: color 0.3s ease;
}

.panel-close:hover {
    color: #ffffff;
}

#panel-body h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #ffffff;
}

#panel-body h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

#panel-body p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

#panel-body ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#panel-body ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

#panel-body ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #774dc4;
}

.app-card {
    margin-top: 30px;
}

.app-download {
    margin-top: 30px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #774dc4;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(119, 77, 196, 0.3);
}

.contact-info a {
    color: #4d82c4;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .slide-panel {
        width: 100%;
        right: -100%;
    }
    
    .header-nav {
        gap: 20px;
    }
    
    .header-nav a {
        font-size: 14px;
    }
    
    .site-header {
        padding: 15px 20px;
    }
    
    .panel-content {
        padding: 60px 30px 30px 30px;
    }
}


/* Game Stats Overlay */
.game-stats {
    position: fixed;
    top: 100px;
    left: 20px;
    display: flex;
    gap: 15px;
    z-index: 50;
}

.stat-box {
    background: rgba(23, 30, 43, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 20px;
    min-width: 100px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

/* Bubble Counts */
.bubble-counts {
    position: fixed;
    top: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 50;
}

.bubble-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(23, 30, 43, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.bubble-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.small-bubble .bubble-icon {
    width: 8px;
    height: 8px;
    background: #1b2541;
}

.medium-bubble .bubble-icon {
    width: 12px;
    height: 12px;
    background: #4d82c4;
}

.large-bubble .bubble-icon {
    width: 16px;
    height: 16px;
    background: #774dc4;
}

/* Reset Button */
.reset-button {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(175, 76, 95, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    z-index: 50;
    transition: all 0.3s ease;
}

.reset-button:hover {
    background: rgba(175, 76, 95, 1);
    transform: rotate(180deg);
    box-shadow: 0 4px 15px rgba(175, 76, 95, 0.4);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .game-stats {
        top: 80px;
        left: 10px;
        gap: 10px;
    }
    
    .stat-box {
        padding: 8px 12px;
        min-width: 80px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .bubble-counts {
        top: 80px;
        right: 10px;
        gap: 8px;
    }
    
    .bubble-stat {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .reset-button {
        bottom: 20px;
        left: 10px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}


/* Privacy Page */
.privacy-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    height: calc(100vh - 100px);
    z-index: 50;
    overflow-y: auto;
}

.privacy-content {
    background: rgba(23, 30, 43, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    color: #ffffff;
}

.privacy-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #ffffff;
}

.privacy-content .last-updated {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
    font-style: italic;
}

.privacy-content h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.privacy-content p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.privacy-content a {
    color: #4d82c4;
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-container {
        width: 95%;
        top: 70px;
        height: calc(100vh - 80px);
    }
    
    .privacy-content {
        padding: 30px 20px;
    }
    
    .privacy-content h1 {
        font-size: 28px;
    }
}


/* Hamburger Button */
.hamburger-btn {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    transition: color 0.3s ease;
}

.hamburger-btn:hover {
    color: #ffffff;
}

/* Update header to accommodate hamburger */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px 20px 70px;
    background: rgba(23, 30, 43, 0.7);
    backdrop-filter: blur(10px);
    z-index: 100;
}


/* Panels - Both start below header */
.slide-panel {
    position: fixed;
    top: 80px;
    width: 500px;
    height: calc(100vh - 80px);
    background: rgba(23, 30, 43, 0.95);
    backdrop-filter: blur(20px);
    z-index: 200;
    transition: left 0.4s ease, right 0.4s ease;
    overflow-y: auto;
}

.slide-panel-left {
    left: -500px;
}

.slide-panel-left.active {
    left: 0;
}

.slide-panel-right {
    right: -500px;
}

.slide-panel-right.active {
    right: 0;
}


/* Achievements */
.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.achievement {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.achievement.locked {
    opacity: 0.5;
}

.achievement.unlocked {
    border-color: #774dc4;
    background: rgba(119, 77, 196, 0.1);
}

.achievement-icon {
    font-size: 32px;
    min-width: 40px;
    text-align: center;
}

.achievement-info {
    flex: 1;
}

.achievement-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}


.achievement-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Achievement Notifications */
.achievement-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    width: 350px;
    background: #774dc4;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 300;
    transition: right 0.3s ease;
}

.achievement-notification.show {
    right: 20px;
}

.achievement-notification-icon {
    font-size: 48px;
    min-width: 50px;
    text-align: center;
}

.achievement-notification-text {
    flex: 1;
}

.achievement-notification-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.achievement-notification-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

/* Power-up list */
.powerup-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.powerup-item {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}


/* Scrollbar Styling for Panels */
.slide-panel::-webkit-scrollbar {
    width: 8px;
}

.slide-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.slide-panel::-webkit-scrollbar-thumb {
    background: rgba(119, 77, 196, 0.5);
    border-radius: 4px;
}

.slide-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(119, 77, 196, 0.7);
}

.privacy-container::-webkit-scrollbar {
    width: 8px;
}

.privacy-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.privacy-container::-webkit-scrollbar-thumb {
    background: rgba(119, 77, 196, 0.5);
    border-radius: 4px;
}

.privacy-container::-webkit-scrollbar-thumb:hover {
    background: rgba(119, 77, 196, 0.7);
}


/* Apps Panel - Full Width */
.apps-panel {
    position: fixed;
    top: -500px;
    left: 0;
    right: 0;
    background: rgba(23, 30, 43, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 99;
    transition: top 0.4s ease;
    padding: 30px 0;
}

.apps-panel.active {
    top: 80px;
}








.app-card h3 {
    text-align: center;
    margin-top: 15px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.app-details {
    padding: 0 40px 30px 40px;
    color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.app-details.active {
    max-height: 800px;
}

.app-details h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #774dc4;
}

.app-details p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.app-details ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.app-details ul li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
}

.app-details ul li:before {
    content: "→";
    color: #774dc4;
    font-weight: bold;
    margin-right: 10px;
}

.app-details .download-button {
    display: inline-block;
    padding: 12px 30px;
    background: #774dc4;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.2s ease;
}

.app-details .download-button:hover {
    transform: translateY(-2px);
}


/* Settings Panel Buttons */
.style-buttons, .theme-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.style-btn, .theme-btn {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.style-btn:hover, .theme-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #774dc4;
}

.style-btn.active, .theme-btn.active {
    background: rgba(119, 77, 196, 0.2);
    border-color: #774dc4;
}

.theme-preview {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.theme-preview span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}


.settings-reset-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #af4c5f, #8a3a4a);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
}

.settings-reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(175, 76, 95, 0.4);
}

.settings-reset-btn i {
    margin-right: 8px;
}


/* Apps Panel - Full Width */
.apps-panel {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    max-height: 80vh;
    background: rgba(23, 30, 43, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 99;
    transition: top 0.4s ease;
    padding: 30px 0;
    overflow-y: auto;
}

.apps-panel.active {
    top: 80px;
}






.screenshot-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.app-screenshot {
    height: 100%;
    width: auto;
    display: block;
}

.screenshot-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.screenshot-container:hover .screenshot-nav {
    opacity: 1;
}

.screenshot-nav:hover {
    background: rgba(119, 77, 196, 0.8);
    border-color: #ffffff;
}

.screenshot-nav-left {
    left: 10px;
}

.screenshot-nav-right {
    right: 10px;
}

.app-card h3 {
    text-align: center;
    margin-top: 15px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.app-details {
    padding: 0 40px 30px 40px;
    color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.app-details.active {
    max-height: 800px;
}

.app-details h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #774dc4;
}

.app-details p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.app-details ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.app-details ul li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
}

.app-details ul li:before {
    content: "→";
    color: #774dc4;
    font-weight: bold;
    margin-right: 10px;
}

.app-details .download-button {
    display: inline-block;
    padding: 12px 30px;
    background: #774dc4;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.2s ease;
}

.app-details .download-button:hover {
    transform: translateY(-2px);
}


/* Apps Panel Controls */
.apps-panel-controls {
    display: flex;
    justify-content: center;
    padding: 0 40px 20px 40px;
}

.size-toggle {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 8px;
}

.size-toggle-btn {
    padding: 8px 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.size-toggle-btn:hover {
    color: #ffffff;
}

.size-toggle-btn.active {
    background: rgba(119, 77, 196, 0.5);
    color: #ffffff;
}


/* Carousel — centered featured card with arrows */
.apps-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 20px 30px 20px;
    position: relative;
    overflow: hidden;
}

.carousel-arrow {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.carousel-arrow:hover {
    background: rgba(119,77,196,0.4);
    border-color: rgba(119,77,196,0.6);
    color: #fff;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    overflow: hidden;
}

.app-card {
    flex-shrink: 0;
    opacity: 0.5;
    transform: scale(0.85);
    transition: all 0.4s ease;
    cursor: pointer;
    text-align: center;
}

.app-card-featured {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

/* Small size mode */
.apps-carousel-small .app-card {
    flex: 0 0 auto;
}

.apps-carousel-small .screenshot-container {
    height: 300px;
}


.panel-content {
    padding: 20px 40px 40px 40px;
    color: #ffffff;
}

.panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.3s ease;
}

.panel-close:hover {
    color: #ffffff;
}


/* Full-Page Achievement Display */
.achievement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.achievement-overlay.show {
    background: rgba(0, 0, 0, 0.85);
    opacity: 1;
}

.achievement-fullscreen {
    position: relative;
    text-align: center;
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.achievement-overlay.show .achievement-fullscreen {
    transform: scale(1);
    opacity: 1;
}

.achievement-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(119, 77, 196, 0.4), transparent 70%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.achievement-fullscreen-icon {
    font-size: 120px;
    color: #774dc4;
    margin-bottom: 30px;
    text-shadow: 0 0 40px rgba(119, 77, 196, 0.8);
    animation: iconBounce 0.6s ease-out;
}

@keyframes iconBounce {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.achievement-fullscreen-title {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.achievement-fullscreen-name {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.achievement-fullscreen-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}


.achievement-icon {
    font-size: 32px;
    min-width: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.achievement.unlocked .achievement-icon {
    color: #774dc4;
}


/* Settings Panel - Compact 2x2 Grid Layout */
.style-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 15px 0 !important;
}

.theme-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 15px 0 !important;
}

.style-btn, .theme-btn {
    padding: 12px 15px !important;
    font-size: 14px !important;
    text-align: center !important;
    border-radius: 8px !important;
}

.theme-preview {
    gap: 5px !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
}

.theme-preview span {
    width: 20px !important;
    height: 20px !important;
}

.panel-content h2 {
    font-size: 16px !important;
    margin: 20px 0 10px 0 !important;
}

.achievement-list {
    gap: 10px !important;
    margin: 15px 0 !important;
}

.achievement {
    padding: 10px 12px !important;
}

.achievement-icon {
    font-size: 20px !important;
}

.achievement-name {
    font-size: 13px !important;
}

.achievement-desc {
    font-size: 11px !important;
}

.style-buttons.bubble-style-buttons {
    grid-template-columns: 1fr 1fr !important;
}
/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(119, 77, 196, 0.08);
    border: 1px solid rgba(119, 77, 196, 0.2);
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    background: rgba(119, 77, 196, 0.15);
    border-color: rgba(119, 77, 196, 0.4);
}

.feature-card i {
    font-size: 18px;
    color: #774dc4;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.feature-card span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}
