/* ===== MAIN MENU STYLES ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* ===== MENU SCREENS ===== */

.menu-screen {
    display: none;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    animation: fadeIn 0.3s ease-in-out;
}

.menu-screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* ===== HAUPTMENÜ ===== */

.menu-header {
    text-align: center;
    margin-bottom: 40px;
}

.game-title {
    font-size: 4rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.game-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
}

/* ===== WÄHRUNGS-ANZEIGE ===== */

.currency-display {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.currency-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.currency-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ===== LOGIN SCREEN STYLES ===== */

#login-screen {
    position: relative;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #0f3460 70%, #1a1a2e 100%);
    overflow: hidden;
}

#login-screen.active {
    display: flex;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.login-bears {
    position: absolute;
    bottom: 50px;
    left: 50px;
    font-size: 3rem;
    animation: bearWave 3s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes bearWave {
    0%, 100% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.floating-balloons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.balloon {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.4;
}

.balloon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    color: #ff6b6b;
}

.balloon-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
    color: #4ecdc4;
}

.balloon-3 {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
    color: #45b7d1;
}

.balloon-4 {
    top: 70%;
    right: 25%;
    animation-delay: 3s;
    color: #f9ca24;
}

.balloon-5 {
    top: 10%;
    left: 60%;
    animation-delay: 4s;
    color: #6c5ce7;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    z-index: 2;
    position: relative;
}

.login-title {
    font-size: 4.5rem;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
    margin-bottom: 15px;
    animation: titleGlow 3s ease-in-out infinite;
    font-weight: bold;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
        transform: scale(1.02);
    }
}

.login-subtitle {
    font-size: 1.4rem;
    color: #a0a0a0;
    margin-bottom: 8px;
    font-weight: 300;
}

.login-subtitle-accent {
    font-size: 1rem;
    color: #6c7293;
    font-style: italic;
    opacity: 0.8;
}

.login-container {
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.login-card {
    background: linear-gradient(145deg, 
        rgba(26, 26, 46, 0.75), 
        rgba(22, 33, 62, 0.80), 
        rgba(15, 52, 96, 0.75));
    backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    padding: 45px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(78, 205, 196, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(15, 52, 96, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardSlideIn 0.6s ease-out;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 35px 70px -15px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 215, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 12px 48px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.login-card-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.login-card-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.login-card-subtitle {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.input-group:focus-within {
    border-color: #4ecdc4;
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
    background: rgba(78, 205, 196, 0.08);
}

.input-icon {
    font-size: 1.2rem;
    padding: 0 15px;
    color: #a0a0a0;
    transition: color 0.3s ease;
}

.input-group:focus-within .input-icon {
    color: #4ecdc4;
}

.login-input {
    flex: 1;
    background: none;
    border: none;
    padding: 18px 15px 18px 0;
    color: white;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.login-input::placeholder {
    color: #7a7a7a;
    transition: color 0.3s ease;
}

.login-input:focus::placeholder {
    color: #9a9a9a;
}

.password-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.password-input {
    padding-right: 50px !important;
}

.toggle-password-btn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password-btn:hover {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.eye-icon {
    font-size: 1.1rem;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.login-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;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn.primary {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.3);
}

.login-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.4);
    background: linear-gradient(135deg, #5dd4cc, #4aa897);
}

.login-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.login-btn.secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-text {
    font-weight: 600;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    text-align: center;
    padding: 12px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 107, 0.3);
    margin-top: 5px;
    display: none;
}

.error-message:not(:empty) {
    display: block;
    animation: errorSlideIn 0.3s ease-out;
}

@keyframes errorSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design für Login */
@media (max-width: 768px) {
    .login-title {
        font-size: 3.5rem;
    }
    
    .login-card {
        margin: 20px;
        padding: 30px;
    }
    
    .floating-balloons {
        display: none;
    }
    
    .login-bears {
        font-size: 2rem;
        bottom: 30px;
        left: 30px;
    }
}

.currency-item.gold {
    border-color: rgba(255, 215, 0, 0.3);
}

.currency-item.gems {
    border-color: rgba(138, 43, 226, 0.3);
}

.currency-icon {
    font-size: 1.5rem;
}

.currency-amount {
    font-size: 1.5rem;
    font-weight: bold;
}

/* ===== MENÜ BUTTONS ===== */

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.menu-btn {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border: none;
    padding: 25px 40px;
    border-radius: 15px;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.menu-btn:hover::before {
    width: 400px;
    height: 400px;
}

.menu-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.menu-btn:active {
    transform: translateY(-2px);
}

.play-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.shop-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.unlocks-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.settings-btn {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.btn-icon {
    font-size: 2rem;
}

.btn-text {
    font-weight: bold;
}

/* ===== STATISTIKEN ===== */

.stats-display {
    display: flex;
    justify-content: space-around;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
}

/* ===== SCREEN HEADER ===== */

.screen-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.screen-header h2 {
    font-size: 2.5rem;
    flex: 1;
}

.screen-subtitle {
    color: #a0a0a0;
    font-size: 1.1rem;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

/* ===== MAP GRID ===== */

.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.map-card {
    /* Basis-Styles - background wird von data-map überschrieben */
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    pointer-events: auto;
}

.map-card * {
    pointer-events: none;
}

/* Map 1: Friedliche Wiese - Grün/Natur */
.map-card[data-map="map1"] {
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.4), rgba(50, 205, 50, 0.4)) !important;
    border-color: rgba(34, 139, 34, 0.8) !important;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3) !important;
}

.map-card[data-map="map1"]:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.6), rgba(50, 205, 50, 0.6)) !important;
    border-color: rgba(34, 139, 34, 1) !important;
    box-shadow: 0 8px 25px rgba(34, 139, 34, 0.5) !important;
}

.map-card[data-map="map1"] .map-difficulty {
    background: rgba(34, 139, 34, 0.3);
    color: #90EE90;
    border: 1px solid rgba(34, 139, 34, 0.5);
}

.map-card[data-map="map1"] .map-icon {
    filter: drop-shadow(0 0 10px rgba(34, 139, 34, 0.8));
}

/* Map 2: Wüsten-Labyrinth - Orange/Sand */
.map-card[data-map="map2"] {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.4), rgba(255, 140, 0, 0.4)) !important;
    border-color: rgba(255, 165, 0, 0.8) !important;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3) !important;
}

.map-card[data-map="map2"]:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.6), rgba(255, 140, 0, 0.6)) !important;
    border-color: rgba(255, 165, 0, 1) !important;
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.5) !important;
}

.map-card[data-map="map2"] .map-difficulty {
    background: rgba(255, 165, 0, 0.3);
    color: #FFE4B5;
    border: 1px solid rgba(255, 165, 0, 0.5);
}

.map-card[data-map="map2"] .map-icon {
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.8));
}

/* Map 3: Eisige Festung - Blau/Eis */
.map-card[data-map="map3"] {
    background: linear-gradient(135deg, rgba(135, 206, 250, 0.4), rgba(100, 149, 237, 0.4)) !important;
    border-color: rgba(135, 206, 250, 0.8) !important;
    box-shadow: 0 4px 15px rgba(135, 206, 250, 0.3) !important;
}

.map-card[data-map="map3"]:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(135, 206, 250, 0.6), rgba(100, 149, 237, 0.6)) !important;
    border-color: rgba(135, 206, 250, 1) !important;
    box-shadow: 0 8px 25px rgba(135, 206, 250, 0.5) !important;
}

.map-card[data-map="map3"] .map-difficulty {
    background: rgba(135, 206, 250, 0.3);
    color: #B0E0E6;
    border: 1px solid rgba(135, 206, 250, 0.5);
}

.map-card[data-map="map3"] .map-icon {
    filter: drop-shadow(0 0 10px rgba(135, 206, 250, 0.8));
}

/* Map 4: Vulkan-Höhle - Rot/Lava */
.map-card[data-map="map4"] {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.4), rgba(255, 69, 0, 0.4)) !important;
    border-color: rgba(220, 20, 60, 0.8) !important;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3) !important;
}

.map-card[data-map="map4"]:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.6), rgba(255, 69, 0, 0.6)) !important;
    border-color: rgba(220, 20, 60, 1) !important;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5) !important;
}

.map-card[data-map="map4"] .map-difficulty {
    background: rgba(220, 20, 60, 0.3);
    color: #FFA07A;
    border: 1px solid rgba(220, 20, 60, 0.5);
    font-weight: bold;
}

.map-card[data-map="map4"] .map-icon {
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.8));
}

/* Map 5: Himmlisches Schloss - Violett/Gold */
.map-card[data-map="map5"] {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.4), rgba(255, 215, 0, 0.4)) !important;
    border-color: rgba(138, 43, 226, 0.8) !important;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3) !important;
}

.map-card[data-map="map5"]:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.6), rgba(255, 215, 0, 0.6)) !important;
    border-color: rgba(138, 43, 226, 1) !important;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5) !important;
}

.map-card[data-map="map5"] .map-difficulty {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.4), rgba(255, 215, 0, 0.3));
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.5);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.map-card[data-map="map5"] .map-icon {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

.map-card.locked {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.7);
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.map-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.map-description {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.map-difficulty {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

.map-progress {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #00f2fe;
}

/* ===== CHAMPION GRID ===== */

.champion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.champion-card-menu {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.champion-card-menu:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(138, 43, 226, 0.5);
}

.champion-card-menu.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.champion-card-menu.locked::after {
    content: '🔒';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
}

.champion-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.champion-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.champion-status {
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 15px;
    background: rgba(0, 242, 254, 0.2);
    color: #00f2fe;
}

.champion-status.locked {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
}

/* Champion Gem Buy Button */
.champion-gem-buy-btn {
    margin-top: 10px;
    padding: 8px 16px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
}

.champion-gem-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.6);
}

.champion-gem-buy-btn.cannot-buy {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.2);
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.champion-gem-buy-btn.cannot-buy:hover {
    transform: none;
}

/* ===== STARTER CHAMPION SELECTION ===== */

.starter-champion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.starter-champion-card {
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.starter-champion-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.starter-champion-card:hover::before {
    width: 500px;
    height: 500px;
}

.starter-champion-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.8);
}

.starter-champion-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.starter-champion-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD700;
}

.starter-champion-lore {
    font-size: 0.95rem;
    color: #a0a0a0;
    margin-bottom: 20px;
    line-height: 1.5;
    min-height: 60px;
}

.starter-champion-abilities {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.starter-ability {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 10px;
    text-align: left;
}

.starter-ability-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.starter-ability-icon {
    font-size: 1.5rem;
}

.starter-ability-name {
    font-weight: bold;
    color: #00f2fe;
    font-size: 1rem;
}

.starter-ability-desc {
    font-size: 0.85rem;
    color: #d0d0d0;
    margin-left: 40px;
}

/* ===== SHOP ===== */

.shop-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.shop-tab {
    flex: 1;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-tab:hover {
    background: rgba(255, 255, 255, 0.15);
}

.shop-tab.active {
    background: rgba(78, 205, 196, 0.2);
    border-color: rgba(78, 205, 196, 0.5);
}

.shop-tab-content {
    display: none;
}

.shop-tab-content.active {
    display: block;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.shop-item {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.shop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.shop-item.unlocked {
    opacity: 0.6;
    border-color: rgba(0, 255, 0, 0.3);
}

.shop-item.unlocked::after {
    content: '✅';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
}

.shop-item-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.shop-item-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.shop-item-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #FFD700;
}

.shop-item-gem-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #00d4ff;
    font-weight: bold;
}

.buy-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.buy-gem-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: none;
    border-radius: 10px;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.buy-gem-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.6);
}

.buy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.buy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.shop-info {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.shop-info p {
    margin: 10px 0;
    font-size: 1.1rem;
}

/* ===== UNLOCKS SCREEN ===== */

.unlocks-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.unlock-tab {
    flex: 1;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unlock-tab:hover {
    background: rgba(255, 255, 255, 0.15);
}

.unlock-tab.active {
    background: rgba(79, 172, 254, 0.2);
    border-color: rgba(79, 172, 254, 0.5);
}

.unlock-tab-content {
    display: none;
}

.unlock-tab-content.active {
    display: block;
}

.unlock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.unlock-item {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    position: relative;
}

.unlock-item.unlocked {
    border-color: rgba(0, 255, 0, 0.3);
}

.unlock-item.unlocked::after {
    content: '✅ Freigeschaltet';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.9rem;
    color: #00ff00;
}

.unlock-item.locked::after {
    content: '🔒 Gesperrt';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.9rem;
    color: #ff6b6b;
}

.unlock-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.unlock-item-icon {
    font-size: 2.5rem;
}

.unlock-item-name {
    font-size: 1.3rem;
    font-weight: bold;
}

.unlock-requirement {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.unlock-requirement-text {
    color: #FFD700;
    font-size: 0.95rem;
}

.unlock-progress {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #00f2fe;
}

/* Gem Unlock Button */
.gem-unlock-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 10px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.gem-unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

.gem-unlock-btn.cannot-buy {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.2);
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.gem-unlock-btn.cannot-buy:hover {
    transform: none;
    box-shadow: none;
}

.unlocked-badge {
    width: 100%;
    margin-top: 15px;
    padding: 12px 20px;
    border: 2px solid rgba(0, 255, 0, 0.5);
    border-radius: 10px;
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
}

/* ===== SETTINGS ===== */

.settings-content {
    max-width: 600px;
    margin: 0 auto;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
}

.setting-item label {
    font-size: 1.2rem;
}

.toggle-btn {
    padding: 10px 30px;
    background: rgba(0, 255, 0, 0.3);
    border: 2px solid rgba(0, 255, 0, 0.5);
    border-radius: 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.off {
    background: rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.5);
}

.toggle-btn:hover {
    transform: scale(1.05);
}

.danger-btn {
    padding: 10px 30px;
    background: rgba(255, 0, 0, 0.3);
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.danger-btn:hover {
    background: rgba(255, 0, 0, 0.5);
    transform: scale(1.05);
}

.version-text {
    color: #a0a0a0;
    font-style: italic;
}

/* ===== ADMIN PANEL IN MENU ===== */

.admin-btn-menu {
    padding: 10px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-btn-menu:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.admin-panel-menu {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
}

.admin-password-menu {
    display: flex;
    gap: 10px;
    flex-direction: column;
    margin-bottom: 20px;
}

.admin-password-menu input {
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
}

.admin-password-menu input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.admin-password-menu button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-password-menu button:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.admin-controls-menu h3 {
    color: #FFD700;
    margin-bottom: 20px;
    text-align: center;
}

.admin-section-menu {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.admin-section-menu h4 {
    color: #00f2fe;
    margin-bottom: 10px;
}

.admin-section-menu button {
    padding: 10px 20px;
    background: rgba(78, 205, 196, 0.3);
    border: 2px solid rgba(78, 205, 196, 0.5);
    border-radius: 8px;
    color: white;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-section-menu button:hover {
    background: rgba(78, 205, 196, 0.5);
    transform: translateY(-2px);
}

/* ===== CURRENCY DISPLAY SMALL ===== */

.currency-display-small {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 25px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.currency-display-small span:last-child {
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== GEM-SHOP MODAL ===== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-overlay.active {
    display: flex;
}

.modal-content.gem-shop {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.modal-header h2 {
    font-size: 2.5rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    margin: 0;
}

.modal-close {
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid rgba(255, 0, 0, 0.5);
    color: #ff6b6b;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.4);
    transform: rotate(90deg) scale(1.1);
}

.gem-offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gem-offer {
    background: linear-gradient(135deg, #2a2a3e 0%, #1e1e30 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gem-offer:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border-color: #ffd700;
}

.gem-offer.popular {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.gem-offer.best-value {
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.gem-offer.premium {
    border-color: #9b59b6;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
    background: linear-gradient(135deg, #3a2a4e 0%, #2e1e40 100%);
}

.popular-badge,
.best-value-badge,
.premium-badge,
.bonus-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #00d4ff;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.bonus-badge {
    background: #4caf50;
}

.best-value-badge {
    background: #ff6b6b;
}

.premium-badge {
    background: #9b59b6;
}

.gem-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: gemFloat 2s ease-in-out infinite;
}

@keyframes gemFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.gem-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
}

.gem-price {
    font-size: 1.2rem;
    color: #a0a0a0;
    font-weight: bold;
}

.ad-offer-section {
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    padding-top: 20px;
}

.ad-offer {
    background: linear-gradient(135deg, #2a4a2a 0%, #1e3a1e 100%);
    border: 2px solid rgba(76, 175, 80, 0.5);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ad-offer:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
    border-color: #4caf50;
}

.ad-icon {
    font-size: 3rem;
}

.ad-text {
    flex: 1;
}

.ad-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 5px;
}

.ad-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 5px;
}

.ad-limit {
    font-size: 0.9rem;
    color: #ffd700;
}

.ad-button {
    background: #4caf50;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.ad-offer:hover .ad-button {
    background: #66bb6a;
    transform: scale(1.1);
}

/* ===== BEAR KNOWLEDGE SYSTEM ===== */

.knowledge-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.knowledge-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.knowledge-info p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.knowledge-tower-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 10px;
}

.knowledge-tower-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.knowledge-tower-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.1));
}

.knowledge-tower-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.knowledge-tower-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #FFD700;
}

.knowledge-tower-progress {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #B8B8B8;
}

/* ===== GOOGLE SIGNIN BUTTON ===== */

.google-signin-container {
    margin: 0;
    padding: 0;
}

.google-signin-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 24px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1f1f1f;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Segoe UI', 'Google Sans', Roboto, Arial, sans-serif;
    box-shadow: 
        0 1px 3px 0 rgba(60, 64, 67, 0.3),
        0 4px 8px 3px rgba(60, 64, 67, 0.15);
    position: relative;
    overflow: visible;
}

.google-signin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(66, 133, 244, 0.05) 0%, 
        rgba(234, 67, 53, 0.05) 25%,
        rgba(251, 188, 5, 0.05) 50%,
        rgba(52, 168, 83, 0.05) 75%,
        rgba(66, 133, 244, 0.05) 100%);
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.google-signin-btn:hover::before {
    opacity: 1;
}

.google-signin-btn:hover {
    background: #f8f9fa;
    box-shadow: 
        0 2px 6px 2px rgba(60, 64, 67, 0.15),
        0 8px 16px 6px rgba(60, 64, 67, 0.15);
    transform: translateY(-2px) scale(1.01);
}

.google-signin-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 1px 2px 0 rgba(60, 64, 67, 0.3),
        0 2px 6px 2px rgba(60, 64, 67, 0.15);
    transition: all 0.1s ease;
}

.google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.google-signin-btn .btn-text {
    font-weight: 500;
    color: #1f1f1f;
    font-size: 1rem;
    letter-spacing: 0.25px;
    position: relative;
    z-index: 1;
}

.login-divider {
    text-align: center;
    margin: 20px 0 15px;
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.5;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== GUEST SIGNIN BUTTON ===== */

.guest-signin-container {
    margin-top: 5px;
}

.guest-signin-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(68, 160, 141, 0.3));
    border: 2px solid rgba(78, 205, 196, 0.5);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #4ecdc4;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Segoe UI', 'Google Sans', Roboto, Arial, sans-serif;
    box-shadow: 
        0 2px 8px rgba(78, 205, 196, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.guest-signin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(78, 205, 196, 0.1) 0%, 
        rgba(68, 160, 141, 0.15) 100%);
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.guest-signin-btn:hover::before {
    opacity: 1;
}

.guest-signin-btn:hover {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.3), rgba(68, 160, 141, 0.4));
    border-color: rgba(78, 205, 196, 0.8);
    box-shadow: 
        0 4px 16px rgba(78, 205, 196, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.01);
    color: #5dd4cc;
}

.guest-signin-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 1px 4px rgba(78, 205, 196, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.1s ease;
}

.guest-signin-btn .btn-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.guest-signin-btn .btn-text {
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.25px;
    position: relative;
    z-index: 1;
}

.guest-info {
    text-align: center;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #ff9966;
    line-height: 1.4;
    font-weight: 500;
    opacity: 0.9;
}

.login-loading {
    text-align: center;
    padding: 20px;
}

.login-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(78, 205, 196, 0.2);
    border-top-color: #4ecdc4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.login-loading p {
    color: #a0a0a0;
    font-size: 1rem;
}

/* Bear Knowledge Modal */
.bear-knowledge-detail {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.knowledge-upgrades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
}

.knowledge-upgrade-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.knowledge-upgrade-card.locked {
    opacity: 0.7;
}

.knowledge-upgrade-card.unlocked {
    border-color: #4CAF50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
}

.knowledge-upgrade-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.knowledge-upgrade-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    font-weight: bold;
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFD700;
}

.knowledge-upgrade-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFD700;
    padding-right: 45px;
}

.knowledge-upgrade-description {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.4;
}

.knowledge-upgrade-cost {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.buy-knowledge-btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-knowledge-btn.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
}

.buy-knowledge-btn.gold:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    transform: scale(1.05);
}

.buy-knowledge-btn.gems {
    background: linear-gradient(135deg, #9C27B0, #E91E63);
    color: white;
}

.buy-knowledge-btn.gems:hover {
    background: linear-gradient(135deg, #E91E63, #F44336);
    transform: scale(1.05);
}

.unlocked-badge {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .game-title {
        font-size: 2.5rem;
    }

    .menu-btn {
        font-size: 1.2rem;
        padding: 20px 30px;
    }

    .map-grid,
    .champion-grid,
    .shop-grid,
    .unlock-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-tower-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .knowledge-upgrades-grid {
        grid-template-columns: 1fr;
    }

    .currency-display {
        flex-direction: column;
    }
}
