/* ============================================================
   PART 1 — BUTTON BASE & CORE VARIANTS
   Button Base • Full Width • Core Buttons
============================================================ */

/* ============================
   GLOBAL BUTTON BASE
============================ */

.button-base {
    font-family: 'Fredoka', Arial, sans-serif;
    display: inline-block;
    text-align: center;

    border-radius: 5px;
    padding: 10px 18px;
    font-size: 12px;
    margin: 8px 0;

    text-decoration: none;
    width: auto;

    cursor: url('/ui/norm.cur'), auto;

    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    transition:
        background-color 0.3s,
        box-shadow 0.3s,
        transform 0.2s;
}

/* Full width helper */
.button-full {
    width: 100%;
}

/* ============================
   NORMAL BUTTON
============================ */

.normal-button {
    @extend .button-base;

    background: linear-gradient(to right, DarkOliveGreen, olive, DarkOliveGreen);
    color: #F0D9A2;

    border: 1px solid tan;
    width: 180px;
}

.normal-button:hover {
    background: linear-gradient(to right, DarkOliveGreen, OliveDrab, DarkOliveGreen);
    color: #FECE58;
}

/* ============================================================
   PART 2 — CONTENT & ACTION BUTTONS
   Read More • Download • Icon • Submit • Close
============================================================ */

/* ============================
   READ MORE & DOWNLOAD
============================ */

.read-more-btn,
.download-btn {
    @extend .button-base;

    background: linear-gradient(to right, #5D0505, Brown, #5D0505);
    color: #F0D9A2;

    border: 1px solid tan;
    width: 180px;
}

.read-more-btn:hover,
.download-btn:hover {
    background: linear-gradient(to right, #5D0505, indianred, #5D0505);
    color: #FECE58;
}

.read-more-btn:active,
.download-btn:active {
    background: linear-gradient(to right, #5D0505, red, #5D0505);
}

/* ============================
   SMALL ICON BUTTON
============================ */

.read-about-icon {
    @extend .button-base;

    background: linear-gradient(to right, #5D0505, Brown, #5D0505);
    color: #F0D9A2;

    border: 1px solid tan;
    width: 120px;
}

.read-about-icon:hover {
    background: linear-gradient(to right, #5D0505, indianred, #5D0505);
    color: #FECE58;
}

/* ============================
   SUBMIT BUTTON (FULL WIDTH)
============================ */

.submit-button {
    @extend .button-base;

    background: linear-gradient(to right, #5D0505, Brown, #5D0505);
    color: #F0D9A2;

    border: none;
    font-size: 1.1em;
    padding: 12px 18px;
    width: 100%;
}

.submit-button:hover {
    background: linear-gradient(to right, #5D0505, indianred, #5D0505);
}

.submit-button:active {
    background: linear-gradient(to right, #5D0505, red, #5D0505);
}

/* ============================
   CLOSE BUTTON
============================ */

.close-button {
    @extend .button-base;

    background: linear-gradient(to right, #5D0505, Brown, #5D0505);
    color: #F0D9A2;

    border: 1px solid tan;
    font-size: 16px;
    padding: 10px 20px;
    margin-top: 20px;
}

.close-button:hover {
    background: linear-gradient(to right, #5D0505, tomato, #5D0505);
    color: #FECE58;
}

/* ============================
   CLOSE ICON (X)
============================ */

.close {
    color: #1F0E02;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #5D0505;
}

/* ============================================================
   PART 3 — COLORED ACTION BUTTONS & UTILITIES
   Red • Blue • Green • Scroll-To-Top • Item Icons
============================================================ */

/* ============================
   RED ACTION BUTTON
============================ */

.red-button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;

    border: 1px solid #ff4f4f;
    border-radius: 0;

    background-color: rgba(248 81 81 / 20%);
    color: #fda09d;

    box-shadow: 0 0 6px rgb(248 81 81 / 70%);
    transition: 0.3s;
}

.red-button:hover {
    background-color: rgba(248 81 81 / 35%);
    box-shadow:
        0 0 12px rgba(248 81 81),
        0 0 25px rgba(248 81 81 / 60%);
}

/* ============================
   BLUE ACTION BUTTON
============================ */

.blue-button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;

    border: 1px solid #66b3ff;

    background-color: rgba(81 167 248 / 20%);
    color: #66b3ff;

    box-shadow: 0 0 6px rgba(81 167 248 / 70%);
    transition: 0.3s;
}

.blue-button:hover {
    background-color: rgba(81, 167, 248, 0.35);
    box-shadow:
        0 0 14px rgba(81, 167, 248, 1),
        0 0 30px rgba(81, 167, 248, 0.5);
    transform: translateY(-2px);
}

/* ============================
   GREEN ACTION BUTTON
============================ */

.green-button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;

    border: 1px solid #b2ff4f;

    background-color: rgb(155 255 0 / 20%);
    color: #b8e35d;

    box-shadow: 0 0 6px rgb(153 248 81 / 70%);
    transition: 0.3s;
}

.green-button:hover {
    background-color: rgb(183 248 81 / 35%);
    box-shadow:
        0 0 12px rgb(182 248 81),
        0 0 25px rgb(182 248 81 / 60%);
}

/* ============================
   SCROLL TO TOP BUTTON
============================ */

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: auto;

    display: none;

    background-color: #FECE58;
    color: #1F0E02;

    border: none;
    border-radius: 5px;

    padding: 10px;
    font-size: 24px;

    z-index: 1000;
    transition: background-color 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #5D0505;
    color: #F0D9A2;
}

/* ============================
   ITEM ICON BUTTONS
============================ */

.items {
    display: inline-block;

    width: 48px;
    height: 48px;

    padding: 10px;
    margin: 8px 0;

    background: rgba(255, 255, 255, 0.1);
    background-size: cover;

    color: #F0D9A2;

    border: 1px solid #FECE58;
    border-radius: 5px;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    transition:
        background-color 0.3s,
        box-shadow 0.3s,
        transform 0.2s;
}

.items:hover {
    background: rgba(254, 206, 88, 0.15);
    color: #FECE58;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    transform: scale(1.1);
}

/* ============================================================
   PART 4 — LOGO, DIVIDERS & TEXT DECORATION (OPTIMIERT)
============================================================ */

/* ============================
   LOGO TEXT DIVIDER
============================ */

.logo-text-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    text-align: center;
    margin: 14px 0;
}

/* ============================
   LOGO TEXT
============================ */

.logo-text-divider span {
    font-family:
        'Quattrocento',
        'Trebuchet MS',
        'FiraSans',
        'Linux Libertine',
        'Times New Roman',
        serif;

    font-variant: small-caps;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;

    /* Metin2 Elegant Gold */
    background: linear-gradient(
        to bottom,
        #fff1b8 0%,
        #ffd45c 30%,
        #ffc11a 55%,
        #e3a51b 75%,
        #b87a12 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    padding: 6px 8px;

    /* Clean depth – NO harsh black */
    text-shadow:
        0 1px 0 rgba(255, 235, 180, 0.45),
        0 2px 2px rgba(120, 85, 25, 0.45),
        0 4px 6px rgba(80, 45, 15, 0.35);

    user-select: none;

    /* Very subtle identity pulse */
    animation: logoSoftPulse 10s ease-in-out infinite;
}

/* ============================
   DIVIDER LINE
============================ */

.logo-divider {
    flex: 1;
    height: 4px;
    border: 0;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 193, 26, 0.85),
        rgba(255, 220, 120, 1),
        rgba(255, 193, 26, 0.85),
        transparent
    );

    box-shadow:
        0 0 6px rgba(255, 193, 26, 0.45);
}

/* ============================
   SOFT PULSE (NO COLOR SHIFT)
============================ */

@keyframes logoSoftPulse {
    0%   {
        filter: brightness(1);
    }
    6%   {
        filter: brightness(1.06);
    }
    12%  {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1);
    }
}



/* ============================
   CONTENT TEXT DIVIDER
============================ */

.content-text-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;

    text-align: center;
    margin: 10px 0;
}

.content-text-divider span {
    font-family: 'Quattrocento','Trebuchet MS','FiraSans',
                 'Linux Libertine','Times New Roman',serif;
    font-variant: small-caps;

    font-size: 22px;
    font-weight: bold;
    line-height: 1;

    color: #f3c862;
    padding: 5px;

    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 0.2),
        2px 3px 0 rgba(0, 0, 0, 0.1),
        1px 1px 1px rgba(0, 0, 0, 0.5);

    -moz-user-select: none;
}

/* Divider Line */
.content-divider {
    flex: 1;
    height: 2px;
    border: 0;

    background: linear-gradient(
        90deg,
        transparent,
        #FECE58,
        transparent
    );
}

/* ============================================================
   PART 5 — SPOILER & COLLAPSIBLE CONTENT SYSTEM
   Spoiler • Spoilersmall • Icons • Animations • Effects
============================================================ */

/* ============================
   SPOILER (STANDARD)
============================ */

.spoiler {
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.spoiler-content {
    display: none;

    padding: 15px;
    margin: 5px 0;

    border: 1px solid #5D0505;
    border-radius: 5px;

    background-color: #B7A87321;
    color: #000000;

    font-size: 14px;
    text-align: center;
}

/* ----------------------------
   SPOILER HEADER
---------------------------- */

.spoiler-header {
    cursor: url('/ui/link.cur'), auto;

    background-color: #4A6C4A;
    color: antiquewhite;

    padding: 5px 20px;
    margin: 0;

    border: 1px solid #4A6C4A;
    border-radius: 5px;

    font-size: 12px;
    font-weight: normal;
    text-align: center;

    position: relative;

    transition: background-color 0.3s;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.spoiler-header:hover,
.spoiler-header:active {
    background-color: #8B2A00;
}

/* ----------------------------
   SPOILER HEADER ICONS
---------------------------- */

.icon-left {
    position: absolute;
    left: 10px;
    top: 50%;

    transform: translateY(-50%);
    transition: transform 0.3s ease;

    color: #F0D9A2;
}

.icon-right {
    position: absolute;
    right: 10px;
    top: 50%;

    transform: translateY(-50%);
    color: #F0D9A2;
}

.icon-left.open {
    transform: translateY(-50%) rotate(90deg);
}

/* ============================
   SPOILER SMALL
============================ */

.spoilersmall {
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.spoilersmall-content {
    display: none;

    padding: 15px;
    margin: 5px 0;

    border: 1px solid #5D0505;
    border-radius: 5px;

    background-color: #B7A87321;
    color: #000000;

    font-size: 14px;
    text-align: center;
}

.spoilersmall-header {
    cursor: url('/ui/link.cur'), auto;

    background-color: #684A6C;
    color: antiquewhite;

    padding: 5px 20px;
    margin: 0;

    border: 1px solid #684A6C;
    border-radius: 5px;

    font-size: 12px;
    font-weight: normal;
    text-align: center;

    position: relative;
    transition: background-color 0.3s;

    -moz-user-select: none;
}

.spoilersmall-header:hover {
    background-color: #502767;
}

.spoilersmall-header:active {
    background-color: #8B2A00;
}

/* ----------------------------
   SPOILER SMALL IMAGE
---------------------------- */

.spoilersmall-img {
    width: 100px;
    height: 100px;

    margin: 10px;
    padding: 0;

    box-sizing: border-box;
}

/* ============================
   SPOILER ANIMATIONS & EFFECTS
============================ */

/* Bounce animation when opening */
.bounce-open {
    animation: spoilerBounce 0.35s ease;
}

@keyframes spoilerBounce {
    0%   { transform: scale(0.50); opacity: 0.6; }
    60%  { transform: scale(1.02); opacity: 1; }
    100% { transform: scale(1); }
}

/* Glow effect for header */
.spoiler-glow {
    box-shadow: 0 0 20px #4a6c4a;
    transition: box-shadow 0.3s ease;
}

/* ============================================================
   PART 6 — MUSIC BUTTON & MODAL CORE SYSTEM
   Music Toggle • Modal Overlay • Modal Box • Header • Body
============================================================ */

/* ============================
   MUSIC BUTTON (GLOBAL)
============================ */

.music-btn {
    position: fixed;
    top: 20px;
    right: 20px;

    font-size: 28px;
    cursor: pointer;

    z-index: 10000;

    color: #F0D9A2;
    text-shadow: 0 0 8px black;

    user-select: none;
    transition: transform 0.15s ease;
}

.music-btn:hover {
    transform: scale(1.15);
}

/* ============================
   MODAL OVERLAY
============================ */

.modal {
    display: none;
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);

    overflow: auto;
    z-index: 1000;
}

/* ============================
   MODAL CONTENT BOX
============================ */

.modal-content {
    background-color: var(--background-color);

    margin: 5% auto;
    padding: 0;

    width: 70%;
    max-width: 840px;

    border: 1px solid Tan;
    border-radius: 10px;

    box-shadow: 0 0 25px rgba(0,0,0,0.35);
    overflow: hidden;

    animation: contentFadeIn 0.45s ease;
}

/* ----------------------------
   MODAL OPEN ANIMATION
---------------------------- */

@keyframes contentFadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================
   MODAL HEADER
============================ */

.modal-header {
    background: linear-gradient(to bottom, #7b1000, #520000);
    padding: 18px;

    text-align: center;

    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal-title {
    margin: 0;
    color: #F0D9A2;
}

/* ============================
   MODAL BODY
============================ */

.modal-body {
    padding: 25px;

    color: #332313;
    text-align: center;
    line-height: 1.6;

    font-family: 'Fredoka', Arial, sans-serif;
    animation: contentTextFadeIn 0.55s ease;
}

/* Prevent background scroll when modal open */
body.modal-open {
    overflow: hidden;
}

/* ----------------------------
   MODAL TEXT FADE
---------------------------- */

@keyframes contentTextFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ============================
   IMAGES INSIDE MODAL BODY
============================ */

.modal-body img {
    margin: 10px 0;

    max-width: 100%;
    height: auto;

    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   PART 7 — MODAL CONTENT SYSTEMS
   Sections • Images • Warning / Info • Tabs • Gallery
============================================================ */

/* ============================
   MODAL SECTIONS
============================ */

.modal-section {
    margin-bottom: 25px;
}

.modal-section.center {
    text-align: center;
}

.modal-section.small-gap {
    margin-bottom: 10px;
}

/* ============================
   IMAGE VARIANTS
============================ */

.modal-image-top {
    max-width: 280px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.modal-image-small {
    max-width: 140px;
    border-radius: 10px;
    margin: 10px auto;
    display: block;
}

.modal-image-gallery {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* ============================
   WARNING & INFO BOXES
============================ */

.modal-warning-box {
    background: rgba(200, 40, 40, 0.15);
    border-left: 4px solid #a40000;

    padding: 15px;
    border-radius: 8px;
    margin: 25px 0;

    text-align: left;
    font-weight: 600;
    color: #4a0000;
}

.modal-info-box {
    background: rgba(255, 255, 200, 0.2);
    border-left: 4px solid #d5c289;

    padding: 15px;
    border-radius: 8px;
    margin: 25px 0;

    text-align: left;
}

/* ============================
   MODAL TABS
============================ */

.modal-tabs {
    display: flex;
    justify-content: center;

    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

.modal-tab {
    padding: 10px 18px;

    cursor: pointer;
    font-weight: 600;

    color: #6a2f00;
    transition: 0.2s ease;
}

.modal-tab:hover {
    color: #ba6c24;
}

.modal-tab.active {
    color: #f0d9a2;
    background: #7b1000;

    border-radius: 8px 8px 0 0;
}

/* ============================
   MODAL TAB CONTENT
============================ */

.modal-tab-content {
    display: none;
}

.modal-tab-content.active {
    display: block;
    animation: contentTextFadeIn 0.35s ease;
}

/* ============================
   MODAL IMAGE GALLERY
============================ */

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;

    margin-top: 10px;
}

.modal-gallery img {
    width: 100%;
    border-radius: 10px;

    cursor: pointer;
    transition: 0.2s;
}

.modal-gallery img:hover {
    transform: scale(1.03);
}

/* ============================
   TOOLTIP MODAL OVERRIDES
============================ */

#modal .modal-header {
    background: linear-gradient(to bottom, #7b1000, #520000);
    padding: 14px;
}

#modal .modal-title {
    color: #f0d9a2;
    font-size: 1.4rem;
}

#modal .modal-body {
    padding: 20px;
    font-family: 'Fredoka', Arial, sans-serif;
}

/* ============================
   RESPONSIVE MODAL
============================ */

@media (max-width: 900px) {

    .modal-content {
        width: 90%;
    }

    .modal-header {
        font-size: 1.4rem;
    }

    .modal-body {
        font-size: 1rem;
        padding: 18px;
    }
}

/* ============================================================
   PART 8 — DROPDOWN, NAVIGATION & STATUS SYSTEMS
   Dropdown • Nav States • User Info • Ranks • Success • Timer
============================================================ */

/* ============================
   DROPDOWN MENU
============================ */

.dropdown-content {
    display: none;
    position: absolute;

    background-color: #5D0505;
    min-width: 150px;

    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 3px;

    border: 1px solid #fece58;
    border-left: 1.5px solid #D8C79A;
    border-right: 1.5px solid #D8C79A;
    border-bottom: 1.5px solid #D8C79A;

    z-index: 1;
    animation: dropdownFade 0.18s ease-out;
}

.dropdown-content a {
    display: block;

    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;

    color: #F0D9A2;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: radial-gradient(
        circle,
        rgba(240, 217, 162, 0.45) 0%,
        rgba(240, 217, 162, 0.25) 40%,
        rgba(240, 217, 162, 0) 80%
    );
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ----------------------------
   DROPDOWN DIVIDERS
---------------------------- */

.dropdown-divider {
    height: 1px;
    margin: 4px 8px;

    background: linear-gradient(
        to right,
        rgba(248, 220, 150, 0),
        rgba(248, 220, 150, 0.7),
        rgba(248, 220, 150, 0)
    );
}

.dropdown-divider.thin {
    height: 0.5px;
}

.dropdown-divider.thick {
    height: 2px;
}

.dropdown-divider.dotted {
    height: 1px;
    border-bottom: 1px dotted #D8C79A;
    background: none;
}

/* ----------------------------
   DROPDOWN META TEXT
---------------------------- */

.dropdown-rank-label {
    font-size: 11px;
    color: #FECE58;
    opacity: 0.9;

    padding: 2px 10px 0;
    margin-bottom: 2px;

    pointer-events: none;
}

/* ----------------------------
   DROPDOWN ANIMATION
---------------------------- */

@keyframes dropdownFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ============================
   NAVIGATION STATES
============================ */

.nav-link.active {
    color: coral;
    text-shadow: 0px 1px 5px black;
}

/* ============================
   USER INFO BOX (DROPDOWN)
============================ */

.nav-user-info-box {
    padding: 10px 12px;
    margin: 6px 8px;

    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(254, 206, 88, 0.35);
    border-radius: 5px;
}

.nav-user-info-line {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 3px 0;

    color: #F0D9A2;
    font-size: 12px;
    font-weight: 600;
}

.nav-user-info-line i {
    width: 18px;
    text-align: center;

    font-size: 14px;
    color: #FFD700;
}

.nav-user-info-line i.nav-coins-icon {
    color: #ffcc33;
}

/* ============================
   NAV MENU ENTRIES WITH ICONS
============================ */

.nav-menu-entry {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.nav-menu-entry i {
    width: 18px;
    font-size: 14px;
    text-align: center;
    color: #F0D9A2;
}

/* ============================
   RANK COLORS (CONFLICT FREE)
============================ */

.rank-color i {
    color: gold;
}

.rank-admin span,
.rank-admin i {
    color: #ff4747 !important;
    text-shadow: 0 0 6px rgba(255, 80, 80, 0.7);
}

.rank-premium span,
.rank-premium i {
    color: #ffdd55 !important;
    text-shadow: 0 0 6px rgba(255, 221, 85, 0.7);
}

.rank-friend span,
.rank-friend i {
    color: #6bff8f !important;
    text-shadow: 0 0 6px rgba(107, 255, 143, 0.7);
}

.rank-mapper span,
.rank-mapper i {
    color: #6bd1ff !important;
    text-shadow: 0 0 6px rgba(107, 209, 255, 0.7);
}

.rank-designer span,
.rank-designer i {
    color: #ff8cff !important;
    text-shadow: 0 0 6px rgba(255, 140, 255, 0.7);
}

.rank-costumer span,
.rank-costumer i {
    color: #ffb36b !important;
    text-shadow: 0 0 6px rgba(255, 179, 107, 0.7);
}

.rank-normal span,
.rank-normal i {
    color: #F0D9A2 !important;
    opacity: 0.85;
}

/* ============================
   SUCCESS OVERLAY & BOX
============================ */

#success-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(3px);

    z-index: 9000;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in;
}

#success-overlay.fade-in {
    opacity: 1;
    pointer-events: auto;
}

.success-box {
    position: fixed;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 500px;
    padding: 16px 14px;

    background: rgba(0,0,0,0.65);
    border-radius: 10px;

    display: none;
    gap: 12px;

    text-align: center;
    align-items: center;

    color: #F0D9A2;
    font-size: 15px;
    text-shadow: 0 0 6px black;

    box-shadow: 0 0 10px rgba(0,0,0,0.45);
    z-index: 9999;

    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.success-box.show-flex {
    display: flex;
}

.success-box.fade-in {
    opacity: 1;
}

/* ============================
   TIMER CIRCLE
============================ */

.timer-circle svg {
    transform: rotate(-90deg);
}

.timer-circle circle {
    fill: none;

    stroke: #d7a84c;
    stroke-width: 4;
    stroke-linecap: round;

    stroke-dasharray: 125;
    stroke-dashoffset: 0;

    filter: drop-shadow(0 0 6px #d7a84c);
    transition: stroke-dashoffset 1s linear;
}

/* ============================================================
   PART 9 — GLOBAL IMAGES & MICRO-ANIMATIONS
   Global Image Rules • Coin Shine Animation
============================================================ */

/* ============================
   GLOBAL IMAGE BEHAVIOR
============================ */

/* Standard-Image-Regel (Theowadan usw) */
img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* ============================
   COIN SHINE / BOUNCE ANIMATION
============================ */

/* Coins Animation in User Info */
.nav-user-info-line i.fa-coins {
    animation: coinShine 1.2s ease-out;
    transform-origin: center;
}

@keyframes coinShine {
    0% {
        transform: scale(0.6) rotate(-20deg);
        opacity: 0;
        filter: brightness(0.5);
    }
    40% {
        transform: scale(1.15) rotate(10deg);
        opacity: 1;
        filter: brightness(1.4);
    }
    70% {
        transform: scale(0.95) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
}

