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

:root {
    --primary-color: #fca503;
    --primary-dark: #e69502;
    --secondary-color: #2f3542;
    --accent-color: #ffa502;
    --text-primary: #2f3542;
    --text-secondary: #747d8c;
    --bg-primary: #ffffff;
    --bg-secondary: #f1f2f6;
    --bg-card: #ffffff;
    --border-color: #dfe4ea;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #fca503 0%, #e69502 100%);
    --gradient-secondary: linear-gradient(135deg, #ffa502 0%, #ff9f43 100%);
    --gradient-gold: linear-gradient(135deg, #ffa502 0%, #ff9f43 50%, #ff6348 100%);
    --gradient-purple: linear-gradient(135deg, #a55eea 0%, #885ba2 100%);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-primary: #ffffff;
    --text-secondary: #bdc3c7;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-card: #2d2d2d;
    --border-color: #404040;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    overflow-x: hidden;
}

/* Top Bar Styles */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--gradient-primary);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #f1f2f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    }
    to {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    }
}

.nav-toggle, .refresh-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-toggle:hover, .refresh-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-toggle:active, .refresh-btn:active {
    transform: scale(0.95);
}

.dark-mode-toggle {
    width: 60px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.dark-mode-toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.dark-mode-toggle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Animated background particles */
.dark-mode-toggle .particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.dark-mode-toggle .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.dark-mode-toggle .particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.dark-mode-toggle .particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.dark-mode-toggle .particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-5px) scale(1.2);
        opacity: 1;
    }
}

/* Day mode specific particles */
.dark-mode-toggle .particle.day-particle {
    background: rgba(243, 156, 18, 0.8);
    box-shadow: 0 0 4px rgba(243, 156, 18, 0.6);
}

/* Night mode specific particles */
[data-theme="dark"] .dark-mode-toggle .particle {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .dark-mode-toggle .particle.day-particle {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Toggle icon */
.dark-mode-toggle .toggle-icon {
    position: relative;
    z-index: 3;
    color: #f39c12;
    font-size: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 8px rgba(243, 156, 18, 0.8);
    animation: sunGlow 2s ease-in-out infinite alternate;
}

@keyframes sunGlow {
    from {
        text-shadow: 0 0 8px rgba(243, 156, 18, 0.8);
    }
    to {
        text-shadow: 0 0 12px rgba(243, 156, 18, 1);
    }
}

/* Dark mode state */
[data-theme="dark"] .dark-mode-toggle {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .dark-mode-toggle::before {
    left: calc(100% - 34px);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .dark-mode-toggle::after {
    background: #000000;
}

[data-theme="dark"] .dark-mode-toggle .toggle-icon {
    color: #f39c12;
    text-shadow: 0 0 8px rgba(243, 156, 18, 0.8);
    animation: moonGlow 2s ease-in-out infinite alternate;
}

@keyframes moonGlow {
    from {
        text-shadow: 0 0 8px rgba(243, 156, 18, 0.8);
    }
    to {
        text-shadow: 0 0 12px rgba(243, 156, 18, 1);
    }
}

/* Hover effects */
.dark-mode-toggle:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .dark-mode-toggle:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

/* Active state */
.dark-mode-toggle:active {
    transform: scale(0.95);
}

/* Ripple effect on click */
.dark-mode-toggle .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .dark-mode-toggle {
        width: 50px;
        height: 35px;
        border-radius: 17.5px;
    }
    
    .dark-mode-toggle::before {
        width: 27px;
        height: 27px;
        top: 2px;
        left: 2px;
    }
    
    .dark-mode-toggle .toggle-icon {
        font-size: 0.7rem;
    }
    
    [data-theme="dark"] .dark-mode-toggle::before {
        left: calc(100% - 29px);
    }
}

@media (max-width: 480px) {
    .dark-mode-toggle {
        width: 45px;
        height: 30px;
        border-radius: 15px;
    }
    
    .dark-mode-toggle::before {
        width: 22px;
        height: 22px;
        top: 2px;
        left: 2px;
    }
    
    .dark-mode-toggle .toggle-icon {
        font-size: 0.65rem;
    }
    
    [data-theme="dark"] .dark-mode-toggle::before {
        left: calc(100% - 24px);
    }
}

/* Navigation Menu Styles */
.nav-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: var(--shadow-hover);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
}

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

.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.nav-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.nav-items {
    padding: 1rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-item:hover {
    background: var(--bg-secondary);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.nav-item.active {
    background: var(--gradient-primary);
    color: white;
    border-left-color: var(--accent-color);
}

.nav-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-icon-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item:hover .nav-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-item:hover .nav-icon-circle::before {
    opacity: 1;
}

.nav-item.active .nav-icon-circle {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
}

.nav-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.nav-item.active i {
    color: var(--primary-color);
}

.nav-section-divider {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 1px;
}

.social-links-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 1.5rem;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    min-width: 60px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.social-link i {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
}

.social-link span {
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
}

.social-link.telegram i,
.social-link.telegram span {
    color: #0088cc;
}

.social-link.whatsapp i,
.social-link.whatsapp span {
    color: #25d366;
}

.social-link.instagram i,
.social-link.instagram span {
    color: #e4405f;
}

.social-link.telegram:hover {
    background: rgba(0, 136, 204, 0.1);
    border-color: #0088cc;
}

.social-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
}

.social-link.instagram:hover {
    background: rgba(228, 64, 95, 0.1);
    border-color: #e4405f;
}

/* Main Content Styles */
.main-content {
    margin-top: 70px;
    padding: 0;
    min-height: calc(100vh - 70px);
    background: var(--bg-primary);
}

.webview-container {
    width: 100%;
    height: calc(100vh - 70px);
    position: relative;
    overflow: hidden;
}

#gameWebview {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--bg-primary);
}

/* Loading State */
.webview-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loader-content {
    text-align: center;
    color: var(--text-primary);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loader-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Error State */
.webview-error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: errorFadeIn 0.5s ease;
}

@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.error-content {
    text-align: center;
    padding: 2.5rem;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: contentSlideUp 0.6s ease;
}

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

.error-content i {
    font-size: 4rem;
    color: #ff4757;
    margin-bottom: 1.5rem;
    animation: errorPulse 2s ease-in-out infinite;
}

@keyframes errorPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.error-content h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fca503 0%, #e69502 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.retry-btn {
    background: linear-gradient(135deg, #fca503 0%, #e69502 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(252, 165, 3, 0.3);
    position: relative;
    overflow: hidden;
}

.retry-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.retry-btn:hover::before {
    left: 100%;
}

.retry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(252, 165, 3, 0.4);
}

.retry-btn:active {
    transform: translateY(-1px);
}

.retry-btn i {
    font-size: 1.1rem;
    animation: spin 1s linear infinite;
}

/* Dark mode error state */
[data-theme="dark"] .error-content {
    background: rgba(44, 62, 80, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .error-content h3 {
    background: linear-gradient(135deg, #fca503 0%, #e69502 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .error-content p {
    color: #bdc3c7;
}

/* Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.refresh-btn.rotating {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.75rem 1rem;
    }
    
    .app-title {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        width: 280px;
        left: -280px;
    }
    
    .main-content {
        padding: 0;
    }
    
    .webview-container {
        height: calc(100vh - 70px);
    }
    
    .top-bar-left, .top-bar-right {
        gap: 0.5rem;
    }
    
    .nav-toggle, .refresh-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 0.5rem 0.75rem;
    }
    
    .top-bar-left, .top-bar-right {
        gap: 0.4rem;
    }
    
    .nav-toggle, .refresh-btn {
        width: 32px;
        height: 32px;
    }
    
    .app-title {
        font-size: 0.95rem;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Error popup styles */
.error-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 20, 0.95));
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: popupFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.error-popup-content {
    background: linear-gradient(145deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    animation: contentSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.error-popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.error-popup-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.error-popup-icon {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.error-popup-icon i {
    font-size: 70px;
    background: linear-gradient(135deg, #fca503, #e69502);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: errorPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(252, 165, 3, 0.3));
}

.error-popup-content h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-popup-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.error-popup-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.popup-retry-btn, .popup-close-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-retry-btn {
    background: linear-gradient(135deg, #fca503 0%, #e69502 50%, #fca503 100%);
    color: white;
    box-shadow: 
        0 8px 25px rgba(252, 165, 3, 0.4),
        0 0 0 1px rgba(252, 165, 3, 0.2);
}

.popup-close-btn {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #6c5ce7 100%);
    color: white;
    box-shadow: 
        0 8px 25px rgba(108, 92, 231, 0.4),
        0 0 0 1px rgba(108, 92, 231, 0.2);
}

.popup-retry-btn::before, .popup-close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.popup-retry-btn:hover, .popup-close-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.1);
}

.popup-retry-btn:hover::before, .popup-close-btn:hover::before {
    left: 100%;
}

.popup-retry-btn:active, .popup-close-btn:active {
    transform: translateY(-1px) scale(1.02);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes errorPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(252, 165, 3, 0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 6px 12px rgba(252, 165, 3, 0.5));
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Dark mode styles for error popup */
[data-theme="dark"] .error-popup {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(10, 10, 10, 0.98));
}

[data-theme="dark"] .error-popup-content {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .error-popup-content h3 {
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .error-popup-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Content Sections */
.content-section {
    width: 100%;
    min-height: calc(100vh - 80px);
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

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

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, transparent);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.section-header h2 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #667eea, #764ba2, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header h2 i {
    margin-right: 20px;
    color: #667eea;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.8);
}

.section-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.section-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* About Section */
.about-card {
    text-align: center;
}

.about-icon {
    margin-bottom: 30px;
}

.about-icon i {
    font-size: 4rem;
    color: var(--primary);
    animation: pulse 2s infinite;
}

.about-card h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(102, 126, 234, 0.2),
        0 0 0 2px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item i {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
}

.feature-item:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

.feature-item h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-item p {
    color: #34495e;
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Section */
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-form {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0099cc, #00d4ff);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.contact-form h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2rem;
    text-align: center;
}

.contact-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-methods-container {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-methods-container h4 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    color: inherit;
    text-decoration: none;
}

.contact-method:hover::before {
    left: 100%;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Phone icon - Green */
.contact-method:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.contact-method:nth-child(1):hover .contact-icon {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Email icon - Blue */
.contact-method:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.contact-method:nth-child(2):hover .contact-icon {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Telegram icon - Light Blue */
.contact-method:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #0088cc, #006699);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.contact-method:nth-child(3):hover .contact-icon {
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

/* WhatsApp icon - Green */
.contact-method:nth-child(4) .contact-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.contact-method:nth-child(4):hover .contact-icon {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.contact-details h5 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact Form */
.contact-form {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    animation: shimmer 4s infinite;
}

.contact-form h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.1),
        0 5px 15px rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.98);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 25px rgba(102, 126, 234, 0.4),
        0 0 0 2px rgba(102, 126, 234, 0.2);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Privacy Policy */
.policy-card {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.policy-section h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.policy-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Gift Code Section */
.gift-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.gift-info h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.gift-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.gift-form {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.redeem-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #fca503, #e69502);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.redeem-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 165, 3, 0.4);
}

.gift-benefits h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.benefit-item {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.benefit-item span {
    color: var(--text-primary);
    font-weight: 600;
}

/* Rate Us Section */
.rate-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.rate-info h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.rate-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.rating-section {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rating-section h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.stars-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars-container i {
    font-size: 2.5rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stars-container i:hover,
.stars-container i.hover {
    color: #ffd700;
    transform: scale(1.1);
}

.stars-container i.active {
    color: #ffd700;
}

.rating-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

.feedback-form {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feedback-form h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.feedback-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    resize: vertical;
    min-height: 100px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.feedback-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-feedback-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.submit-feedback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.rate-links h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.store-links {
    display: flex;
    justify-content: center;
}

.store-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.store-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

/* Dark mode styles for content sections */
[data-theme="dark"] .section-content {
    background: rgba(26, 26, 46, 0.98);
    border-color: rgba(0, 212, 255, 0.3);
}

[data-theme="dark"] .section-header h2 {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .section-header h2 i {
    color: #00d4ff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

[data-theme="dark"] .feature-item,
[data-theme="dark"] .contact-method,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .policy-section,
[data-theme="dark"] .gift-form,
[data-theme="dark"] .rating-section,
[data-theme="dark"] .feedback-form,
[data-theme="dark"] .benefit-item {
    background: linear-gradient(145deg, #1a1a3a 0%, #2d2d5a 50%, #1a1a3a 100%);
    border-color: rgba(0, 212, 255, 0.2);
}

[data-theme="dark"] .feature-item h4,
[data-theme="dark"] .contact-form h3,
[data-theme="dark"] .policy-section h3,
[data-theme="dark"] .gift-info h3,
[data-theme="dark"] .rate-info h3,
[data-theme="dark"] .rating-section h4,
[data-theme="dark"] .feedback-form h4,
[data-theme="dark"] .rate-links h4,
[data-theme="dark"] .gift-benefits h4 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .feature-item p,
[data-theme="dark"] .contact-info p,
[data-theme="dark"] .policy-section p,
[data-theme="dark"] .gift-info p,
[data-theme="dark"] .rate-info p,
[data-theme="dark"] .rating-text,
[data-theme="dark"] .contact-method h4,
[data-theme="dark"] .contact-method p,
[data-theme="dark"] .benefit-item span {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .form-group label {
    color: #ffffff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .feedback-form textarea {
    background: rgba(26, 26, 46, 0.9);
    color: #ffffff;
    border-color: rgba(0, 212, 255, 0.3);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .feedback-form textarea:focus {
    border-color: #00d4ff;
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 
        0 0 0 4px rgba(0, 212, 255, 0.1),
        0 5px 15px rgba(0, 212, 255, 0.2);
}

[data-theme="dark"] .submit-feedback-btn {
    background: linear-gradient(135deg, #00d4ff, #ff6b6b);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

[data-theme="dark"] .submit-feedback-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

[data-theme="dark"] .store-link {
    background: linear-gradient(135deg, #00d4ff, #ff6b6b);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

[data-theme="dark"] .store-link:hover {
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

/* Rating page specific styles */
.error-message {
    animation: slideIn 0.3s ease;
}

.success-message {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced star rating styles */
.stars-container i {
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 2.5rem;
    color: #ddd;
    margin: 0 5px;
}

.stars-container i:hover,
.stars-container i.hover {
    color: #ffd700;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.stars-container i.active {
    color: #ffd700;
    animation: starPop 0.3s ease;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
}

@keyframes starPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Dark mode star colors */
[data-theme="dark"] .stars-container i {
    color: #555;
}

[data-theme="dark"] .stars-container i:hover,
[data-theme="dark"] .stars-container i.hover {
    color: #ffd700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

[data-theme="dark"] .stars-container i.active {
    color: #ffd700;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
}

/* Disabled button state */
.submit-feedback-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-feedback-btn:disabled:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive design for content sections */
@media (max-width: 1200px) {
    .section-container {
        max-width: 100%;
        padding: 30px 15px;
    }
    
    .section-content {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .content-section {
        min-height: calc(100vh - 60px);
    }
    
    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .section-header::after {
        width: 60px;
        height: 2px;
    }
    
    .section-content {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .contact-card {
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    .feature-item i {
        font-size: 2.5rem;
    }
    
    .feature-item h4 {
        font-size: 1.3rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .benefit-item {
        padding: 15px 10px;
    }
    
    .benefit-item i {
        font-size: 1.5rem;
    }
    
    .store-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .rating-section,
    .feedback-form {
        padding: 25px 20px;
    }
    
    .stars-container i {
        font-size: 2rem;
    }
    
    .feedback-form textarea {
        min-height: 80px;
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-content {
        padding: 25px 15px;
        border-radius: 15px;
    }
    
    .contact-card {
        gap: 25px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-method {
        padding: 20px 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .contact-details h5 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.85rem;
    }
    
    .feature-item {
        padding: 25px 15px;
    }
    
    .feature-item i {
        font-size: 2rem;
    }
    
    .feature-item h4 {
        font-size: 1.2rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        padding: 12px 8px;
    }
    
    .benefit-item i {
        font-size: 1.3rem;
    }
    
    .benefit-item span {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
    
    .contact-form h3 {
        font-size: 1.3rem;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 1rem;
    }
    
    .rating-section,
    .feedback-form {
        padding: 20px 15px;
    }
    
    .stars-container {
        gap: 8px;
    }
    
    .stars-container i {
        font-size: 1.8rem;
    }
    
    .feedback-form textarea {
        min-height: 70px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .submit-feedback-btn {
        padding: 12px;
        font-size: 1rem;
    }
    
    .store-link {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
} 