﻿/* ============================================
   METIN CLICKER GAME - PREMIUM DESIGN
   ============================================ */

:root {
    --clicker-bg: #0a0a0f;
    --clicker-card: rgba(26, 26, 36, 0.95);
    --clicker-border: rgba(212, 175, 55, 0.3);
    --clicker-gold: #d4af37;
    --clicker-gold-light: #ffd700;
    --clicker-gold-dark: #b8941e;
    --clicker-damage: #ff4444;
    --clicker-heal: #44ff44;
}

/* Game Container */
.clicker-game {
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 50%, #0a0a0f 100%);
    padding: 30px;
    margin: 0;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* Animated Background Pattern */
.clicker-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    animation: bgPulse 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bgPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

/* Game Header */
.game-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.game-title {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--clicker-gold) 0%, var(--clicker-gold-light) 50%, var(--clicker-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.game-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Main Game Layout */
.game-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Left Side - Main Game Area */
.game-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Stats Bar */
.stats-bar {
    background: var(--clicker-card);
    border: 2px solid var(--clicker-border);
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.stat-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--clicker-gold) 0%, var(--clicker-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stone Container */
.stone-container {
    background: var(--clicker-card);
    border: 2px solid var(--clicker-border);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Level Badge */
.level-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--clicker-gold) 0%, var(--clicker-gold-dark) 100%);
    color: #000;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    z-index: 2;
}

/* Stone Name Badge */
.stone-name-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

/* HP Bar */
.hp-bar-container {
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
}

.hp-bar-wrapper {
    position: relative;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.hp-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff4444 0%, #ff6b6b 50%, #ff4444 100%);
    border-radius: 18px;
    transition: width 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 68, 68, 0.5);
    position: relative;
    overflow: hidden;
}

.hp-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: hpShine 2s linear infinite;
}

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

    100% {
        left: 100%;
    }
}

.hp-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    color: #fff;
    z-index: 1;
}

/* Metin Stone */
.metin-stone {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #4a4a5a 0%, #6a6a7a 25%, #8a8a9a 50%, #6a6a7a 75%, #4a4a5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 140px;
    line-height: 1;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 -10px 30px rgba(0, 0, 0, 0.4), inset 0 10px 30px rgba(255, 255, 255, 0.2);
    user-select: none;
    overflow: visible;
    text-align: center;
    contain: layout style paint;
    will-change: transform;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Font Awesome ikonu için özel düzenleme */
.metin-stone i {
    font-size: 140px;
    line-height: 1;
    display: block;
    color: inherit;
    text-shadow: inherit;
}

.metin-stone::before {
    display: none !important;
}

.metin-stone::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Emoji içeriği için z-index düzenlemesi */
.metin-stone {
    z-index: 1;
}

.metin-stone > * {
    position: relative;
    z-index: 2;
}

/* Emoji içeriği için özel stil */
.metin-stone {
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    word-spacing: normal;
    text-indent: 0;
    text-shadow: none;
    direction: ltr;
    white-space: normal;
    unicode-bidi: normal;
    vertical-align: baseline;
}

.metin-stone:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 55, 0.3), inset 0 -10px 30px rgba(0, 0, 0, 0.4), inset 0 10px 30px rgba(255, 255, 255, 0.2);
}

.metin-stone:active {
    transform: scale(0.95);
}

.metin-stone.shake {
    animation: stoneShake 0.5s ease;
}

@keyframes stoneShake {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    10% {
        transform: translate(-5px, -5px) rotate(-2deg);
    }

    20% {
        transform: translate(5px, 5px) rotate(2deg);
    }

    30% {
        transform: translate(-5px, 5px) rotate(-1deg);
    }

    40% {
        transform: translate(5px, -5px) rotate(1deg);
    }

    50% {
        transform: translate(-3px, -3px) rotate(-0.5deg);
    }

    60% {
        transform: translate(3px, 3px) rotate(0.5deg);
    }

    70% {
        transform: translate(-3px, 3px) rotate(-0.5deg);
    }

    80% {
        transform: translate(3px, -3px) rotate(0.5deg);
    }

    90% {
        transform: translate(-1px, -1px) rotate(0deg);
    }
}

/* Stone Type Variations */
.stone-type-1 {
    background: linear-gradient(135deg, #4a4a5a 0%, #6a6a7a 25%, #8a8a9a 50%, #6a6a7a 75%, #4a4a5a 100%) !important;
}

.stone-type-2 {
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 25%, #ff4444 50%, #dc143c 75%, #8b0000 100%) !important;
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.4), inset 0 -10px 30px rgba(0, 0, 0, 0.4), inset 0 10px 30px rgba(255, 100, 100, 0.3) !important;
}

.stone-type-2:hover {
    box-shadow: 0 25px 70px rgba(220, 20, 60, 0.6), 0 0 40px rgba(255, 68, 68, 0.5), inset 0 -10px 30px rgba(0, 0, 0, 0.4), inset 0 10px 30px rgba(255, 100, 100, 0.3) !important;
}

.stone-type-3 {
    background: linear-gradient(135deg, #4b0082 0%, #8b008b 25%, #ba55d3 50%, #8b008b 75%, #4b0082 100%) !important;
    box-shadow: 0 20px 60px rgba(138, 0, 139, 0.4), inset 0 -10px 30px rgba(0, 0, 0, 0.4), inset 0 10px 30px rgba(186, 85, 211, 0.3) !important;
}

.stone-type-3:hover {
    box-shadow: 0 25px 70px rgba(138, 0, 139, 0.6), 0 0 40px rgba(186, 85, 211, 0.5), inset 0 -10px 30px rgba(0, 0, 0, 0.4), inset 0 10px 30px rgba(186, 85, 211, 0.3) !important;
}

.stone-type-4 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 25%, #fff 50%, #ffed4e 75%, #ffd700 100%) !important;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.6), inset 0 -10px 30px rgba(0, 0, 0, 0.2), inset 0 10px 30px rgba(255, 255, 255, 0.5) !important;
}

.stone-type-4:hover {
    box-shadow: 0 25px 70px rgba(255, 215, 0, 0.8), 0 0 50px rgba(255, 215, 0, 0.7), inset 0 -10px 30px rgba(0, 0, 0, 0.2), inset 0 10px 30px rgba(255, 255, 255, 0.5) !important;
}

/* Click Info */
.click-info {
    margin-top: 20px;
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

/* Floating Damage */
.floating-damage {
    position: absolute;
    font-size: 24px;
    font-weight: 700;
    pointer-events: none;
    z-index: 1000;
    animation: floatUp 1.5s ease-out forwards;
}

.floating-damage.normal {
    color: var(--clicker-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8), 0 2px 4px rgba(0, 0, 0, 0.8);
}

.floating-damage.crit {
    color: #ff4444;
    font-size: 32px;
    text-shadow: 0 0 15px rgba(255, 68, 68, 1), 0 2px 6px rgba(0, 0, 0, 0.9);
    animation: floatUpCrit 1.5s ease-out forwards;
}

.floating-damage.pierce {
    color: #ff8800;
    font-size: 28px;
    text-shadow: 0 0 12px rgba(255, 136, 0, 1), 0 2px 5px rgba(0, 0, 0, 0.9);
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1.5);
    }
}

@keyframes floatUpCrit {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(-5deg);
    }

    100% {
        opacity: 0;
        transform: translateY(-120px) scale(1.8) rotate(5deg);
    }
}

/* Skill Bar */
.skill-bar {
    background: var(--clicker-card);
    border: 2px solid var(--clicker-border);
    border-radius: 20px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.skill-item:hover:not(.cooldown) {
    border-color: var(--clicker-gold);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.skill-item.active {
    border-color: #44ff44;
    background: rgba(68, 255, 68, 0.1);
    animation: skillActive 1s ease-in-out infinite;
}

.skill-item.cooldown {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes skillActive {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(68, 255, 68, 0.5);
    }

    50% {
        box-shadow: 0 0 25px rgba(68, 255, 68, 0.8);
    }
}

.skill-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.skill-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.skill-cooldown {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 68, 68, 0.9);
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

/* Right Side - Upgrades Panel */
.upgrades-panel {
    background: var(--clicker-card);
    border: 2px solid var(--clicker-border);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-height: 800px;
    overflow-y: auto;
}

.upgrades-panel::-webkit-scrollbar {
    width: 8px;
}

.upgrades-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.upgrades-panel::-webkit-scrollbar-thumb {
    background: var(--clicker-gold);
    border-radius: 4px;
}

/* Inventory Section */
.inventory-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--clicker-border);
}

.section-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--clicker-gold);
    margin-bottom: 12px;
    text-align: center;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.inventory-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--clicker-gold);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.item-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.item-name {
    font-size: 11px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.item-bonus {
    font-size: 10px;
    color: var(--clicker-gold);
    font-weight: 700;
}

.empty-inventory {
    text-align: center;
    padding: 20px;
    color: var(--text-gray);
    font-size: 13px;
    font-style: italic;
}

.panel-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--clicker-gold);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.upgrade-item {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.upgrade-item:not(.locked) {
    border-color: var(--clicker-gold);
    animation: upgradePulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

@keyframes upgradePulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
        border-color: rgba(212, 175, 55, 0.6);
    }

    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
        border-color: rgba(212, 175, 55, 1);
    }
}

.upgrade-item:not(.locked):hover {
    border-color: var(--clicker-gold);
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
    box-shadow: -4px 0 25px rgba(212, 175, 55, 0.5);
    animation: none;
}

.upgrade-item.locked {
    opacity: 0.5;
    cursor: not-allowed;
    animation: none;
}

.upgrade-item.locked:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.upgrade-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.upgrade-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.upgrade-info {
    flex: 1;
}

.upgrade-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.upgrade-dps {
    font-size: 13px;
    color: var(--clicker-damage);
    font-weight: 600;
}

.upgrade-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.upgrade-cost {
    font-size: 14px;
    font-weight: 700;
    color: var(--clicker-gold);
    display: flex;
    align-items: center;
    gap: 4px;
}

.upgrade-count {
    font-size: 12px;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 600;
}

/* Reset Button */
.reset-btn {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 68, 68, 0.4);
}

/* Game Notification */
.game-notification {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: linear-gradient(135deg, var(--clicker-gold-dark) 0%, var(--clicker-gold) 100%);
    color: #000;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.6);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.game-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .game-layout {
        grid-template-columns: 1fr;
    }

    .upgrades-panel {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .clicker-game {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .game-title {
        font-size: 36px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .metin-stone {
        width: 220px;
        height: 220px;
        font-size: 110px;
    }

    .stone-container {
        min-height: 400px;
        padding: 24px;
    }

    .skill-bar {
        grid-template-columns: repeat(3, 1fr);
        padding: 15px;
        gap: 10px;
    }

    .skill-icon {
        font-size: 28px;
    }

    .skill-name {
        font-size: 11px;
    }

    .inventory-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 28px;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 24px;
    }

    .metin-stone {
        width: 180px;
        height: 180px;
        font-size: 90px;
    }
}

/* Animations */
@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.level-up-animation {
    animation: successPulse 0.6s ease;
}

/* ==========================================
   TUTORIAL MODAL
   ========================================== */

.tutorial-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tutorial-modal.show {
    opacity: 1;
    visibility: visible;
}

.tutorial-content {
    background: linear-gradient(135deg, #1a1a24 0%, #0a0a0f 100%);
    border: 2px solid var(--clicker-gold);
    border-radius: 24px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4), 0 0 100px rgba(212, 175, 55, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.tutorial-modal.show .tutorial-content {
    transform: scale(1);
}

.tutorial-content::-webkit-scrollbar {
    width: 8px;
}

.tutorial-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.tutorial-content::-webkit-scrollbar-thumb {
    background: var(--clicker-gold);
    border-radius: 4px;
}

.tutorial-header {
    background: linear-gradient(135deg, var(--clicker-gold-dark) 0%, var(--clicker-gold) 100%);
    padding: 24px 32px;
    border-radius: 22px 22px 0 0;
    position: relative;
    text-align: center;
}

.tutorial-header h2 {
    color: #000;
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.close-tutorial {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 0, 0, 0.5);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-tutorial:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: rotate(90deg);
}

.tutorial-body {
    padding: 32px;
}

.tutorial-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.tutorial-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.tutorial-section h3 {
    color: var(--clicker-gold);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tutorial-section p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.tutorial-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tutorial-section ul li {
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.tutorial-section ul li::before {
    content: '⚔️';
    position: absolute;
    left: 0;
    font-size: 14px;
}

.tutorial-section ul li strong {
    color: var(--clicker-gold-light);
}

.tutorial-footer {
    padding: 24px 32px 32px;
    text-align: center;
}

.start-game-btn {
    background: linear-gradient(135deg, var(--clicker-gold) 0%, var(--clicker-gold-light) 50%, var(--clicker-gold) 100%);
    border: none;
    color: #000;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.start-game-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.6);
}

.start-game-btn:active {
    transform: translateY(0) scale(1);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .tutorial-content {
        max-width: 95%;
        max-height: 95vh;
    }

    .tutorial-header h2 {
        font-size: 22px;
    }

    .tutorial-body {
        padding: 24px 20px;
    }

    .tutorial-section h3 {
        font-size: 18px;
    }

    .tutorial-section p,
    .tutorial-section ul li {
        font-size: 14px;
    }

    .start-game-btn {
        font-size: 18px;
        padding: 14px 36px;
    }
}