/* Τα βασικά χρώματα έρχονται από το /theme.css. Τα παλιά ονόματα μένουν
   ως ψευδώνυμα, γιατί τα χρησιμοποιεί όλο το αρχείο. */
:root {
    --bg-color: var(--bg);
    --sidebar-bg: rgba(18, 22, 29, 0.45);
    --panel-border: rgba(255, 255, 255, 0.15);
    --text-primary: var(--text);
    --text-secondary: var(--text2);
    --accent-hover: #0ea5e9;
    --accent-glow: rgba(56, 189, 248, 0.5);

    --success: var(--ok);
    --glow-spread: 20px;

    --font-family: var(--font);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    /* Φόντο: η υφή .gp-texture του theme, πάνω στο <body>. */
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh; /* Force body to 100vh */
    overflow: hidden; /* Hide main page scrollbars */
}

.app-container {
    display: flex;
    flex: 1;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    align-items: stretch;
}

/* Sidebars */
/* ── Πλαϊνές στήλες (16/09/2026) ─────────────────────────────────────
   Σταθερό σκούρο φόντο με την αχνή διαγώνια υφή του site. Αντικατέστησε το
   «γυάλινο» ύφος με blur και τη μπλε λάμψη στο hover. */
.sidebar {
    width: 380px;
    flex-shrink: 0;
    min-height: calc(100vh - 70px);
    background:
        linear-gradient(32deg, rgba(3, 6, 9, 0.35) 30px, transparent) 0 0 / 60px 60px,
        linear-gradient(180deg, rgba(18, 24, 31, 0.94), rgba(12, 16, 22, 0.94));
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
    overflow-y: auto;
    animation: panelEnter 0.6s ease-out both;
}

@keyframes panelEnter {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

.left-sidebar  { border-right: 1px solid rgba(255, 255, 255, 0.08); }
.right-sidebar { border-left:  1px solid rgba(255, 255, 255, 0.08); }

@media (prefers-reduced-motion: reduce) {
    .sidebar { animation: none; }
}

/* Universal Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.3);
}

.logo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--panel-border);
}

.settings-header h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s, transform 0.3s;
    padding: 0.25rem;
}

.icon-btn:hover {
    color: var(--text-primary);
}



/* Inputs */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input, 
.input-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5), 0 0 15px rgba(56, 189, 248, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
    height: 250px;
    line-height: 1.5;
}

.row-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-family);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px var(--accent-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.primary-btn:active {
    transform: translateY(1px);
}

.primary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Main Section */
.wheel-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 1rem 1rem;
    position: relative;
    overflow-y: auto; /* Allow main section to scroll if window is too short */
    height: 100%;
}

.wheel-header {
    text-align: center;
    margin-bottom: 1rem;
    z-index: 2;
}

#display-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

#display-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.wheel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
}
/* Σκηνή του theme γύρω από τον τροχό. Η .gp-stage κανονικά κόβει ό,τι βγαίνει
   έξω. Εδώ όχι: ο εξωτερικός δείκτης προεξέχει ~28px πάνω, και σε κινητό 320px
   ο τροχός των 300px δεν χωράει μαζί με το περιθώριο. */
.wheel-container.gp-stage {
    overflow: visible;
    padding: 40px 12px 30px;
    border: 1px solid var(--border);
    border-radius: 28px;
}
@media (max-width: 480px) {
    .wheel-container.gp-stage { padding: 34px 0 22px; border-radius: 20px; }
}

.wheel-wrapper {
    position: relative;
    width: 580px;
    height: 580px;
    border-radius: 50%;
    /* Outer glow for premium effect matching the glass aesthetic */
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.1),
        0 0 50px rgba(56, 189, 248, 0.15),
        inset 0 0 60px rgba(0,0,0,0.8);
    background: #111;
    border: 8px solid rgba(200, 200, 220, 0.15);
}

.pointer {
    position: absolute;
    z-index: 20;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.5));
    transition: transform 0.05s ease-out;
    transform-origin: top center;
}

.outer-pointer {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 50px;
    color: #ff3b30;
}

.outer-pointer svg {
    width: 100%;
    height: 100%;
    transform: rotate(180deg);
}

.outer-pointer.bump {
    transform: translateX(-50%) rotate(-25deg);
}

/* Ο χρυσός δείκτης πατάει πάνω στο ασημί δαχτυλίδι (ακτίνα 180 στον καμβά 650):
   (325 − 180) / 650 = 22.3% από πάνω. Τα 3.3px είναι το κενό της μύτης μέσα στο SVG.
   Πριν ήταν σταθερά 130px: στον τροχό 580px άφηνε κενό 3px, στα 550px 10px, και στα
   κινητά ο δείκτης «αιωρούνταν» μέσα στον τροχό (16/09/2026). */
.inner-pointer {
    top: calc(22.3% - 3.3px);
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    color: #facc15;
}

.inner-pointer svg {
    width: 100%;
    height: 100%;
    transform: rotate(180deg);
}

.inner-pointer.bump {
    transform: translateX(-50%) rotate(-25deg);
}

#wheel-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

/* Το μεγάλωμα 2% στο hover αφαιρέθηκε (16/09/2026): κατά το γύρισμα ο καμβάς παίρνει
   pointer-events:none και μετά το Confirm τα ξαναπαίρνει, οπότε ο τροχός άλλαζε μέγεθος
   απότομα στο τέλος κάθε γύρου. */


/* Winners Sidebar */
.winners-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--panel-border);
}

.winners-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #facc15);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.global-settings-btn {
    transition: color 0.3s;
    color: var(--text-secondary);
}

.global-settings-btn:hover {
    color: var(--accent);
}

.winners-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
    margin-bottom: 0.5rem;
    overflow-y: visible;
}

.winner-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), inset 0 0 10px rgba(255,255,255,0.05);
    animation: slideIn 0.4s ease-out;
    transition: all 0.3s ease;
}

.winner-item:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), inset 0 0 15px rgba(56, 189, 248, 0.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.winner-item .w-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--success);
    margin: 0;
}

.winner-item .w-prize {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    text-align: right;
    flex-shrink: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--sidebar-bg);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff, #facc15);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.winner-row {
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.winner-row .label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.highlight-text {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--success);
}

#winner-prize {
    color: var(--accent);
}

/* Settings Modal */
.settings-content {
    max-width: 600px;
    text-align: left;
}

.settings-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem; /* Add some padding for the scrollbar */
}

/* Hover Scrollbar inherited from Universal */

.settings-section h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 0.5rem;
}

.help-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-list li {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.5;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.help-list li strong {
    color: var(--text-primary);
}

/* Summary Modal */
.summary-content {
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.final-winners-list {
    margin-top: 1rem;
    text-align: left;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 1.5rem;
    max-height: 40vh;
    overflow-y: auto;
}

.final-winners-list h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.final-winners-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.final-winners-list li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.fw-name {
    font-weight: 600;
    color: var(--success);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    .app-container, .modal {
        background: none;
    }
    /* Both summary modal AND sidebar print area */
    #summary-modal, #summary-modal *,
    #sidebar-print-area, #sidebar-print-area * {
        visibility: visible;
    }
    #summary-modal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        display: block !important;
        opacity: 1 !important;
        background: none;
    }
    #sidebar-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: white;
    }
    .modal-content {
        box-shadow: none;
        border: none;
        width: 100%;
        max-width: 100%;
        transform: none;
        padding: 0;
        color: #000;
        background: #fff;
    }
    .modal-body p {
        display: none; /* Hide description in print */
    }
    .final-winners-list {
        background: #fff;
        color: #000;
        max-height: none;
        overflow: visible;
        padding: 0;
    }
    .modal-actions, .modal-actions *, .ad-container, .seo-content-container {
        display: none !important;
    }
    .fw-name {
        color: #000;
    }
    .modal-header h2 {
        background: none;
        -webkit-text-fill-color: initial;
        color: #000;
        margin-bottom: 1rem;
    }
    .final-winners-list h3 {
        color: #000;
    }
    .final-winners-list li {
        border-bottom-color: #ccc;
    }
}

/* SEO Content Section */
.seo-content-container {
    width: 100%;
    background: #0d0f1a;
    border-top: 1px solid var(--panel-border);
    padding: 4rem 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.seo-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-content-wrapper h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin: 3rem 0 1rem 0;
    font-weight: 800;
}

.seo-content-wrapper h2:first-child {
    margin-top: 0;
}

.seo-content-wrapper p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.seo-content-wrapper ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.seo-content-wrapper ul li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* --- Profile & Pricing Modal --- */
.profile-content {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.pricing-card {
    background: rgba(18, 22, 29, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tier-features li {
    font-size: 0.85rem;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.2);
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 1px;
}

.tier-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.tier-price {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.tier-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.tier-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.tier-features {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
    flex: 1;
}

.tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.tier-features svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.pay-btn {
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.pay-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pay-btn.featured-btn {
    background: var(--accent);
    color: #0f172a;
    border: none;
    box-shadow: 0 0 15px var(--accent-glow);
}

.pay-btn.featured-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.seo-content-wrapper strong {
    color: var(--accent);
}

.seo-content-wrapper em {
    color: var(--success);
    font-style: normal;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1400px) {
    .sidebar {
        width: 300px;
    }
    .wheel-wrapper {
        width: 550px;
        height: 550px;
    }
}

@media (max-width: 1024px) {
    body {
        overflow: auto; /* Allow page scrolling on mobile */
        height: auto;
    }
    .app-container {
        flex-direction: column;
        height: auto;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        border: none;
        border-bottom: 1px solid var(--panel-border);
    }
    .right-sidebar {
        border-left: none;
        border-top: 1px solid var(--panel-border);
    }
    
    .row-inputs {
        flex-direction: row;
    }
    
    .wheel-wrapper {
        width: 450px;
        height: 450px;
    }
    .spin-main-btn {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .row-inputs {
        flex-direction: column;
    }
    .wheel-section {
        padding: 2rem 1rem;
    }
    .wheel-wrapper {
        width: 300px;
        height: 300px;
    }
    #display-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    #display-title {
        font-size: 1.8rem !important;
    }
    #display-description {
        font-size: 0.9rem !important;
    }
}
body {
    height: auto !important;
    overflow-y: auto !important;
}

/* ── Κουμπιά περιστροφής (16/09/2026) ──────────────────────────────────
   Τα 3D κουμπιά έρχονται από το /theme.css (.gpb). Εδώ μόνο η διάταξη και
   ο μετρητής «N Go» (λογική στο spin-counter.js). Αντικατέστησαν τα παλιά
   γυάλινα .mspin-btn. */
/* Χωρίς το ελάχιστο πλάτος 11em του theme: εδώ κάθε κουμπί παίρνει το πλάτος του, όπως στο εγκεκριμένο δοκιμαστικό. */
#multispin-panel .gpb { min-width: 0; }
/* Σταθερό ύψος κουμπιών: 45 πρόσοψη + 12 βάθος = 57px, όσο ακριβώς και το μπλοκ
   του μετρητή. Χωρίς αυτό, το ύψος γραμμής της σελίδας τα έβγαζε 54px. */
#multispin-panel .gpb:not(.gpb--mini) .gpb-top {
    height: 45px;
    padding: 0 18px;
    font-size: 0.95rem;
    line-height: 1;
}
#multispin-panel .gp-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
#multispin-panel .gp-hint {
    font-size: 0.72rem;
    min-height: 16px;
    color: transparent;
    text-align: center;
}

/* Μετρητής από πάνω, − / + από κάτω. Συνολικό ύψος = ύψος των 3D κουμπιών (57px):
   μετρητής 34 + κενό 3 + κουμπάκια 20. Τα κουμπάκια μαζί έχουν το πλάτος του μετρητή. */
.gp-counter { display: flex; align-items: flex-end; gap: 8px; }
.gp-ctr { display: flex; flex-direction: column; gap: 3px; width: 74px; }
.gp-pm { display: flex; gap: 4px; }
.gp-pm .gpb { flex: 1 1 0; }
.gp-spin-cap {
    font-size: 0.72rem;
    min-height: 16px;
    text-align: center;
    color: rgba(241, 245, 249, 0.55);
    font-variant-numeric: tabular-nums;
}

.gp-flip {
    display: flex;
    justify-content: center;
    gap: 3px;
    padding: 3px;
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.5);
    /* ίδιο περίγραμμα με τα 3D κουμπιά */
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.6), 0 1px 1px 0 rgba(255, 255, 255, 0.35);
    cursor: ns-resize;
    outline: none;
}
.gp-flip:focus-visible {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(168, 237, 223, 0.35);
}
.gp-flip.is-running { cursor: default; border-color: rgba(255, 255, 255, 0.45); }

.gp-fd {
    --h: 26px;
    position: relative;
    width: 20px;
    height: var(--h);
    perspective: 200px;
    font-family: var(--font);
    font-weight: 800;
    font-size: 19px;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.gp-fd .h { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; backface-visibility: hidden; }
.gp-fd .h.t { top: 0; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #2a313b, #1e242c); transform-origin: 50% 100%; }
.gp-fd .h.b { bottom: 0; border-radius: 0 0 4px 4px; background: linear-gradient(180deg, #191e25, #232932); transform-origin: 50% 0; }
.gp-fd .h span {
    position: absolute; left: 0; right: 0;
    height: var(--h); line-height: var(--h);
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.28);
    transition: opacity 0.2s;
}
.gp-fd .h.t span { top: 0; }
.gp-fd .h.b span { bottom: 0; }
.gp-fd.is-lead .h span { opacity: 0.28; }   /* μηδενικά μπροστά, π.χ. 0 0 3 */
.gp-fd::after {                              /* η γραμμή στη μέση */
    content: '';
    position: absolute; left: 0; right: 0; top: 50%;
    height: 1px; margin-top: -0.5px;
    background: rgba(0, 0, 0, 0.75);
    z-index: 6; pointer-events: none;
}
.gp-fd .flap { z-index: 4; }
.gp-fd .flap.t { animation: gp-flap-top var(--fd, 0.15s) ease-in forwards; }
.gp-fd .flap.b { transform: rotateX(90deg); animation: gp-flap-bot var(--fd, 0.15s) ease-out var(--fd, 0.15s) forwards; }
.gp-fd .flap.t::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
    animation: gp-flap-shade var(--fd, 0.15s) ease-in forwards;
}
@keyframes gp-flap-top { to { transform: rotateX(-90deg); } }
@keyframes gp-flap-bot { to { transform: rotateX(0deg); } }
@keyframes gp-flap-shade { to { opacity: 1; } }

/* Κινητό (17/09/2026): παλιότερα το πάνελ κρυβόταν κάτω από 768px. Τώρα φαίνεται,
   πιο σφιχτό: τα 1× / 5× / 10× σε μία σειρά, ο μετρητής με το Go από κάτω. */
#multispin-panel .gp-pm .gpb { touch-action: manipulation; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
@media (max-width: 768px) {
    #multispin-panel { gap: 4px 8px !important; }
    #multispin-panel .gpb:not(.gpb--mini) .gpb-top { padding: 0 12px; font-size: 0.88rem; }
    #multispin-panel .gp-cell:last-child { flex-basis: 100%; }
}
@media (max-width: 480px) {
    #multispin-panel .gpb:not(.gpb--mini) .gpb-top { padding: 0 9px; font-size: 0.85rem; gap: 6px; }
}
@media (max-width: 360px) {
    #multispin-panel .gpb:not(.gpb--mini) .gpb-top { padding: 0 8px; font-size: 0.8rem; }
    #multispin-panel .gpb:not(.gpb--mini) .gpb-top svg { display: none; }
}

/* Η παλιά μπάρα .top-navbar (με ατέρμονο «ολογραφικό» φως) αφαιρέθηκε 17/09/2026:
   δεν χρησιμοποιούνταν. Η μπάρα είναι η .gp-navbar του /navbar.js. */

/* ── Winner items ── (το συνεχές «φως» αφαιρέθηκε 16/09/2026) */
.winner-item {
    position: relative !important;
    overflow: hidden !important;
}

.winner-item > * { position: relative; z-index: 1; }

/* ── Hamburger dropdown above all sidebars ── */
#header-dropdown {
    z-index: 4000 !important;
}

/* ── Πλαϊνές στήλες: περιεχόμενο (16/09/2026) ────────────────────────── */
.row-inputs { gap: 1rem; }

.gp-sec {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gp-sec-head { display: flex; align-items: center; gap: 10px; }
.gp-sec-title {
    flex: 1;
    min-width: 0;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Εικονίδια: μικρός παστέλ τροχός για τα ονόματα, νυχτερινό με χρυσό για τα δώρα */
.gp-chip {
    width: 30px; height: 30px;
    border-radius: 50%;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 2px 6px rgba(0, 0, 0, 0.4);
}
/* Ονόματα: ανθρωπάκια σε μέντα, ίδιο χρώμα με τον μετρητή τους (Νεκτάριος, 17/09/2026) */
.gp-chip--names {
    background: radial-gradient(#d3f7f0, #a8eddf);
    color: #0f172a;
}
.gp-chip--prizes {
    background: radial-gradient(#273449, #1e293b);
    color: #fcd34d;
    box-shadow: inset 0 0 0 1px rgba(252, 211, 77, 0.45), 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Μετρητές πλήθους */
.gp-count {
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding: 2px 8px;
    border-radius: 999px;
    color: #0f172a;
    background: #a8eddf;
    flex: 0 0 auto;
}
.gp-count--gold {
    color: #fcd34d;
    background: #1e293b;
    box-shadow: inset 0 0 0 1px rgba(252, 211, 77, 0.4);
}

/* Πεδία: ίδιο «βυθισμένο» στυλ με τον μετρητή περιστροφών */
.gp-sec textarea {
    width: 100%;
    height: 220px;
    min-height: 110px;
    resize: vertical;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.6), 0 1px 1px 0 rgba(255, 255, 255, 0.3);
    padding: 0.8rem 0.9rem;
    font-family: var(--font-family);
    font-size: 0.98rem;
    line-height: 1.55;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.gp-sec textarea::placeholder { color: var(--text3, #64748b); }
.gp-sec textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(168, 237, 223, 0.25);
}
.gp-sec--prizes textarea:focus {
    box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(252, 211, 77, 0.22);
}
.gp-sec textarea:disabled { opacity: 0.6; cursor: not-allowed; }

.gp-tip { font-size: 0.74rem; color: var(--text3, #64748b); padding: 0 2px; }
.gp-tip kbd {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.7rem;
    color: #fcd34d;
    background: #1e293b;
    border: 1px solid rgba(252, 211, 77, 0.3);
    border-radius: 5px;
    padding: 0 4px;
}

/* Διακόπτης αντί για κουτάκι */
.gp-switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 2px 4px;
}
.gp-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.gp-track {
    position: relative;
    width: 38px; height: 22px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6);
    transition: background 0.2s, border-color 0.2s;
}
.gp-track::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: radial-gradient(#ffffff, #cbd5e1);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
}
.gp-switch input:checked + .gp-track { background: rgba(168, 237, 223, 0.35); border-color: rgba(168, 237, 223, 0.7); }
.gp-switch input:checked + .gp-track::after { transform: translateX(16px); }
.gp-switch input:focus-visible + .gp-track { outline: 2px solid var(--accent2, #a8eddf); outline-offset: 2px; }
.gp-switch input:disabled + .gp-track { opacity: 0.5; }
.gp-switch:has(input:disabled) { cursor: not-allowed; }

/* Κεφαλίδα νικητών */
.winners-header.gp-w-head {
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 0;
    padding: 2px 2px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gp-w-head h2 {
    flex: 1;
    font-size: 1.25rem;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--text-primary);
}
.gp-trophy {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fcd34d;
    background: radial-gradient(#273449, #1e293b);
    box-shadow: inset 0 0 0 1px rgba(252, 211, 77, 0.5), 0 0 18px rgba(252, 211, 77, 0.12);
}
.icon-btn.gp-print {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    padding: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.icon-btn.gp-print:hover { border-color: rgba(255, 255, 255, 0.3); }
.icon-btn.gp-print:focus-visible { outline: 2px solid var(--accent2, #a8eddf); outline-offset: 2px; }

/* Λίστα νικητών: όνομα στο παστέλ χρώμα του τροχού, δώρο σε νυχτερινό με χρυσό */
.winners-list { gap: 8px; }
.winners-list:not(:empty) + .gp-w-empty { display: none; }
.gp-w-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 26px 12px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: var(--text3, #64748b);
    font-size: 0.86rem;
    text-align: center;
}
.gp-w-empty svg { color: rgba(252, 211, 77, 0.55); }

.winner-item.gp-witem {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: none;
    animation: gpRise 0.35s ease-out;
}
.winner-item.gp-witem:hover { border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
@keyframes gpRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gp-wnum {
    width: 26px; height: 26px;
    flex: 0 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.gp-witem:first-child .gp-wnum { color: #fcd34d; box-shadow: inset 0 0 0 1px rgba(252, 211, 77, 0.55); }
.winner-item .gp-wname {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 48%;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    color: #0f172a;
    background: var(--c, #a8eddf);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}
.gp-warrow { flex: 0 0 auto; display: block; color: var(--text3, #64748b); }
.winner-item .gp-wprize {
    flex: 0 1 auto;
    min-width: 0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fcd34d;
    background: #1e293b;
    box-shadow: inset 0 0 0 1px rgba(252, 211, 77, 0.35);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (prefers-reduced-motion: reduce) {
    .winner-item.gp-witem { animation: none; }
    .gp-track, .gp-track::after { transition: none; }
}

/* Εξήγηση κάτω από το Disqualify & Re-spin (17/09/2026) */
.gp-win-actions { display: flex; flex-direction: column; align-items: center; margin-top: 0.5rem; }
.gp-dq { width: 100%; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; align-items: center; }
.gp-dq[hidden] { display: none; }
#cancel-spin-btn .gpb-top { color: #fca5a5; }
.gp-dq-note { margin: 0.6rem auto 0; max-width: 36ch; font-size: 0.78rem; line-height: 1.45; color: #94a3b8; text-align: center; }
/* Κουμπιά του gpAlert / gpConfirm: χωρίς το ελάχιστο πλάτος του theme, ώστε να χωράνε σε στενές οθόνες */
#gp-alert-btns { flex-wrap: wrap; }
#gp-alert-btns .gpb { min-width: 0; }
