/* Premium World-Class Design System */
:root {
    /* Palette */
    --primary-gold: #FFC700;
    --primary-gold-dim: #cca000;
    --accent-purple: #6366f1;
    --accent-blue: #3b82f6;

    /* Backgrounds */
    --bg-deep: #050507;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(20, 20, 25, 0.6);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    /* Borders & Effects */
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --glow-primary: 0 0 20px rgba(255, 199, 0, 0.15);

    /* Animation */
    --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Premium Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Outfit', 'Noto Sans', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(255, 199, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Premium Container - The "Card" */
.bf-popup-content {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px var(--glass-highlight);
    padding: 24px;
    position: relative;
    overflow: clip;
    /* Changed from visible to clip to fix border-radius overflow */
    max-width: 1000px;
    margin: 20px auto;
    min-height: calc(100vh - 40px);
    /* Changed from height */
    display: flex;
    flex-direction: column;
    /* height: calc(100vh - 40px); Removed */
    border-radius: 24px;
}

/* Add a subtle noise texture overlay if possible, or just a gradient sheen */
.bf-popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .bf-popup-content {
        margin: 0;
        min-height: 100vh;
        /* Changed from height */
        border-radius: 0;
        border: none;
        max-width: 100%;
    }
}

/* Premium Menu Styles */
.menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
    padding: 10px 0;
}

.menu-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.4s var(--ease-out-quart);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.menu-item:hover::before {
    transform: translateX(100%);
}

.menu-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.menu-item span {
    z-index: 1;
}

.menu-item svg {
    fill: var(--text-secondary);
    transition: all 0.3s ease;
    z-index: 1;
}

.menu-item:hover svg {
    fill: var(--primary-gold);
    transform: scale(1.1);
}

/* Premium Content Styles */
.bf-content {
    flex: 1;
    overflow-y: visible;
    /* Changed from auto */
    /* min-height: 0; Removed */
    animation: fadeIn 0.4s var(--ease-out-quart);
    padding-right: 0;
    /* Removed padding */
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-gold), #b38b00);
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffe066, var(--primary-gold));
    box-shadow: 0 0 10px rgba(255, 199, 0, 0.4);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Premium Button Styles */
.back-button,
.login-button,
.close-modal-button,
.search-button,
.submit-button {
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-quart);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.login-button,
.submit-button,
.search-button {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dim));
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 199, 0, 0.3);
}

.login-button:hover,
.submit-button:hover,
.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 199, 0, 0.4);
    filter: brightness(1.1);
}

.close-modal-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.close-modal-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Premium Form Styles */
.form-input,
.form-select,
.form-textarea,
.ticket-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.ticket-input:focus {
    border-color: var(--primary-gold);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 199, 0, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-tertiary);
}

/* Premium Loader Styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.loader-container.fade-in {
    opacity: 1;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
}

.loader:before,
.loader:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: pulse 2s var(--ease-out-quart) infinite;
}

.loader:before {
    width: 100%;
    height: 100%;
    background: rgba(255, 199, 0, 0.1);
    border: 1px solid rgba(255, 199, 0, 0.3);
    animation-delay: -0.5s;
}

.loader:after {
    width: 60%;
    height: 60%;
    background: var(--primary-gold);
    top: 20%;
    left: 20%;
    box-shadow: 0 0 30px var(--primary-gold);
    animation-delay: 0s;
}

/* Premium Animations */
@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

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

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Premium Responsive Design */
@media (max-width: 768px) {
    .menu-item {
        padding: 16px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 14px;
    }
}

/* Smooth transitions */
* {
    transition: all 0.3s var(--ease-out-quart);
}

.popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0 0;
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
}

.social-left,
.social-right {
    display: flex;
    gap: 16px;
}

.popup-footer svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    fill: var(--text-secondary);
}

.popup-footer svg:hover {
    fill: var(--primary-gold);
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 199, 0, 0.4));
}

.bonus-content p {
    margin: 15px 0;
    color: var(--text-secondary);
}

.bonus-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonus-options label {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.bonus-options label:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bonus-options input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--text-tertiary);
    border-radius: 50%;
    outline: none;
    margin-left: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bonus-options input[type="radio"]:checked {
    border-color: var(--primary-gold);
    background: transparent;
}

.bonus-options input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-gold);
    box-shadow: 0 0 10px var(--primary-gold);
}

.roll-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.roll-option {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.roll-option:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.roll-option svg {
    width: 48px;
    height: 48px;
    margin-right: 20px;
    fill: var(--primary-gold);
}

.roll-description {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.roll-description strong {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.roll-description p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Search Section Styles */
.search-section {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: stretch;
}

.tabs {
    display: flex;
    margin-top: 20px;
    border-bottom: 1px solid var(--glass-border);
    gap: 20px;
}

.tab {
    background: transparent;
    border: none;
    padding: 12px 0;
    color: var(--text-tertiary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.tab.active {
    color: var(--primary-gold);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 10px var(--primary-gold);
    transform: scaleX(1);
}

.tab:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab:not(.active):hover {
    color: var(--text-primary);
}

.tab-content {
    margin-top: 20px;
}

.event-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    margin: 12px 0;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.event-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.event-card p {
    margin: 6px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.event-card strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.status {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 20px;
    color: #fff;
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status.active {
    background-color: rgba(39, 174, 96, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

#myTickets p {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 30px;
}

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

.call-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .floating-button {
        width: 120px;
        height: 40px;
    }

    .floating-button .separator {
        height: 60%;
    }

    .floating-button svg {
        width: 16px;
        height: 16px;
    }

    .bf-popup {
        padding: 16px;
        height: auto;
    }

    .menu-item {
        padding: 16px;
        font-size: 15px;
        margin: 6px 0;
    }

    .bonus-options label {
        padding: 16px;
        font-size: 15px;
        margin: 6px 0;
    }

    .bonus-options input[type="radio"] {
        width: 20px;
        height: 20px;
        margin-left: 10px;
    }

    .bonus-options input[type="radio"]:checked::after {
        width: 10px;
        height: 10px;
    }

    .content-header {
        padding: 15px 0;
    }

    .content-header h3 {
        font-size: clamp(0.8rem, 4vw, 1rem);
        letter-spacing: 0.5px;
        padding: 0 45px;
        /* Prevent overlap with back button */
        text-align: center;
        width: 100%;
        white-space: normal;
        /* Allow wrapping */
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* Limit to 2 lines if absolutely necessary */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }



    .roll-option {
        padding: 16px;
        margin: 6px 0;
    }

    .roll-option svg {
        width: 32px;
        height: 32px;
        margin-right: 12px;
    }

    .roll-description strong {
        font-size: 1rem;
    }

    .roll-description p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .search-section {
        gap: 10px;
        margin-top: 15px;
    }

    .form-input,
    .form-select,
    .form-textarea,
    .ticket-input {
        padding: 14px;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .tab {
        font-size: 14px;
        padding: 10px 0;
    }

    .event-card {
        padding: 20px;
        margin: 10px 0;
    }

    .event-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    .event-card strong {
        font-size: 16px;
    }
}

/* Premium Content Header Styles */
.content-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid transparent;
    background-image: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: bottom;
}

.content-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-button {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    cursor: pointer;
    border: none;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: none;
    overflow: visible;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
}

.back-button:hover {
    transform: translateY(-50%) scale(1.1);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(255, 199, 0, 0.15);
}

.back-button:active {
    transform: translateY(-50%) scale(0.95);
}

.back-button::after {
    display: none;
}

.back-button svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

.back-button:hover svg {
    stroke: var(--primary-gold);
    transform: translateX(-2px);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .content-header {
        padding: 16px 0;
        margin-bottom: 20px;
    }

    .content-header h3 {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .back-button {
        width: 36px;
        height: 36px;
    }

    .back-button svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsive Back Button */
@media (max-width: 768px) {
    .content-header {
        padding: 12px 0;
        margin-bottom: 16px;
    }

    .content-header h3 {
        font-size: 1.25rem;
    }

    .back-button {
        padding: 6px;
    }

    .back-button svg {
        width: 20px;
        height: 20px;
    }

    .login-button {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {

    .ticket-input,
    .search-button {
        height: 40px;
    }
}

/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.breadcrumb svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
}

.breadcrumb .current-bonus {
    color: var(--primary-color);
    font-weight: 500;
}

/* Bonus Detail Styles - Updated */
.bonus-detail-content {
    padding: 12px 0;
}

.bonus-option {
    background: linear-gradient(145deg, #23252a, #1a1c20);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    gap: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    align-items: center;
    margin: 5px 0px;
}

.bonus-icon {
    width: 52px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


.bonus-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .bonus-icon {
        display: none !important;
    }

    .bonus-info h4 {
        font-size: 0.7rem !important;
    }

    .claim-button {
        padding: 8px !important;
        font-size: 0.75rem !important;
    }
}

.bonus-info-text {
    flex: 1;
}

.bonus-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: white;
}

.bonus-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.bonus-rules {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.7;
}

.bonus-rules li {
    position: relative;
    padding-left: 12px;
}

.bonus-rules li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    opacity: 0.8;
}

.claim-button {
    background: linear-gradient(145deg, var(--primary-color), var(--primary-hover));
    color: #1F212D;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.claim-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}

.breadcrumb span:first-child {
    cursor: pointer;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease forwards;
}

.confirm-popup {
    background: rgba(23, 23, 23, 0.95);
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 90%;
    width: 420px;
    text-align: center;
    transform: translateY(20px);
    animation: popupSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

.confirm-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.popup-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.popup-icon-wrapper svg {
    width: 36px;
    height: 36px;
}

.popup-icon-wrapper.success {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.2);
}

.popup-icon-wrapper.error {
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.2);
}

.popup-icon-wrapper.confirm {
    background: rgba(241, 196, 15, 0.1);
    border-color: rgba(241, 196, 15, 0.2);
}

.popup-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.popup-message {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Override legacy error/success content styles */
.popup-error-content,
.popup-success-content {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.popup-error-list,
.popup-success-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-error-list li {
    color: #ff6b6b;
    font-size: 0.9rem;
    background: rgba(231, 76, 60, 0.1);
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.popup-success-list li {
    color: #2ecc71;
    font-size: 0.9rem;
    background: rgba(46, 204, 113, 0.1);
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

@keyframes popupSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.confirm-button,
.close-button {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dim) 100%);
    color: #000;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(255, 199, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.confirm-button:hover,
.close-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 199, 0, 0.4);
    filter: brightness(1.1);
}

.cancel-button {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-button:hover {
    background: rgba(255, 255, 255, 0.1);
}



.spinner {
    width: 40px;
    /* Boyut büyütüldü */
    height: 40px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    /* Beyazın saydam tonu */
    border-left-color: #fff;
    /* Dönen kısmı tamamen beyaz */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
    margin-bottom: 10px;
    /* Alt boşluk (bottom margin) eklendi */
}

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

    to {
        transform: rotate(360deg);
    }
}

/* Buton içine küçük spinner */
.button-spinner {
    position: relative;
}

/* Buton içindeki spinner */
.button-spinner .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spinbuton 0.6s linear infinite;
    transform: translate(-50%, -50%);
}

/* Spinner animasyonu */
@keyframes spinbuton {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Butonun içindeki metni gizle ama butonun boyutunu koru */
.button-spinner .button-text {
    visibility: hidden;
}

/* Premium Header Styles */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.header-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-badge {
    background: rgba(255, 199, 0, 0.1);
    color: var(--primary-gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 199, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 199, 0, 0.1);
}

.user-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.login-btn-small {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dim));
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(255, 199, 0, 0.2);
}

.login-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 199, 0, 0.3);
    filter: brightness(1.1);
}

/* Premium Footer Styles */
.popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
}

.social-left,
.social-right {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-quart);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 199, 0, 0.2), transparent 70%);
    opacity: 0;
    transition: 0.3s;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: all 0.3s ease;
    z-index: 1;
}

.social-icon:hover {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.5);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover svg {
    fill: var(--primary-gold);
    transform: scale(1.1);
}

/* Premium Dashboard Redesign */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-quart);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.dashboard-card:hover::before {
    transform: translateX(100%);
}

.dashboard-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out-quart);
    flex-shrink: 0;
    border: 1px solid var(--glass-border);
}

.dashboard-card:hover .card-icon-wrapper {
    background: var(--primary-gold);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(255, 199, 0, 0.3);
    border-color: transparent;
}

.card-icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-gold);
    transition: all 0.3s ease;
}

.dashboard-card:hover .card-icon-wrapper svg {
    fill: #000;
    transform: scale(1.1);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.dashboard-card:hover .card-title {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.card-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    opacity: 0.5;
    transform: translateX(0);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.dashboard-card:hover .card-arrow {
    opacity: 1;
    background: rgba(255, 199, 0, 0.1);
    border-color: var(--primary-gold);
    transform: translateX(8px);
    color: var(--primary-gold);
}

.card-arrow svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 600px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dashboard-card {
        padding: 20px;
    }

    .card-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .card-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    /* Responsive Header Styles */
    .popup-header {
        padding: 10px 0 10px 0;
        margin-bottom: 10px;
    }

    .header-logo img {
        height: 30px;
    }

    .user-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .login-btn-small {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* Premium Ticket Page Styles */

/* Tabs */
.premium-tabs {
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    margin-bottom: 24px;
}

.premium-tabs .tab {
    flex: 1;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.premium-tabs .tab.active {
    background: linear-gradient(135deg, var(--primary-gold), #b38b00);
    color: #000;
    box-shadow: 0 2px 10px rgba(255, 199, 0, 0.3);
}

.premium-tabs .tab::after {
    content: none;
}

/* Event Hero Card */
.event-hero-card {
    background: linear-gradient(135deg, rgba(255, 199, 0, 0.1), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(255, 199, 0, 0.3);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.event-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 199, 0, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.event-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 199, 0, 0.2);
    color: var(--primary-gold);
    border-radius: 12px;
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 199, 0, 0.3);
}

#countdownDisplay {
    text-align: left;
    line-height: 1.3;
}

.timer-value {
    display: block;
    font-weight: 700;
    color: #fff;
    font-size: 0.75rem;
    margin-top: 2px;
}

/* Social Media Bonuses Page */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.social-card {
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-card.telegram:hover {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1), rgba(0, 0, 0, 0.4));
    border-color: rgba(0, 136, 204, 0.3);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.15);
}

.social-card.twitter:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.4));
    border-color: rgba(255, 255, 255, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.social-card:hover .card-icon {
    transform: scale(1.1);
}

.card-content h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.social-card:hover .action-btn {
    background: var(--primary-gold);
    color: #000;
    border-color: var(--primary-gold);
}

/* Prize Distribution Card */
.prize-distribution-card {
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.prize-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.prize-card-header h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.prize-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prize-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 16px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.prize-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.prize-item.total-tickets {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.2);
}

.prize-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prize-info span {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

.prize-badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.prize-badge.green {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.prize-badge.dark {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Premium Forms */
.form-container.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
}

.form-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-left: 4px;
}

.premium-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.premium-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.1);
    outline: none;
}

.premium-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

textarea.premium-input {
    resize: vertical;
    min-height: 100px;
}

.event-badge.active-draw {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

.event-hero-card h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #fff;
    line-height: 1.4;
}

.prize-amount {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    display: block;
    margin-top: 5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.event-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.event-timer svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-gold);
}

.event-timer span {
    font-family: 'Outfit', monospace;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

/* Stats Grid */
.event-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.stat-value.gold {
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(255, 199, 0, 0.3);
}

/* Info Section */
.event-info-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--glass-border);
}

.event-info-section h4 {
    color: var(--primary-gold);
    margin: 0 0 12px 0;
    font-size: 1rem;
}

.info-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Action Button */
.action-button-large {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-gold), #b38b00);
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 199, 0, 0.2);
}

.action-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 199, 0, 0.3);
}

.action-button-large svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Ticket Cards */
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ticket-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(20, 20, 25, 0.8);
    /* Semi-transparent background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: -24px;
    /* Counteract padding */
    padding-top: 24px;
    /* Restore padding */
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.ticket-id {
    font-family: 'Outfit', monospace;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 1px;
}

.ticket-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
}

.status-waiting {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.status-won {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.3);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.status-lost {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
}

.status-cancelled {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
}

.ticket-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.ticket-row span {
    color: var(--text-secondary);
}

.ticket-row strong {
    color: #fff;
}

.ticket-prize {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dashed var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-prize strong {
    color: var(--primary-gold);
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 199, 0, 0.3);
}

.ticket-card.winner {
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, rgba(255, 199, 0, 0.05), rgba(0, 0, 0, 0.4));
}

.ticket-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 199, 0, 0.1), transparent 70%);
    pointer-events: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px dashed var(--glass-border);
}

.empty-icon svg {
    width: 64px;
    height: 64px;
    fill: var(--text-tertiary);
    margin-bottom: 16px;
}

.empty-state h3 {
    color: #fff;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Snow Animation */
.theme-snow {
    position: relative;
    overflow: hidden;
}

.theme-snow::before,
.theme-snow::after {
    content: "";
    position: absolute;
    top: -650px;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(4px 4px at 100px 50px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(6px 6px at 200px 150px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 300px 250px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(4px 4px at 400px 350px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(6px 6px at 500px 100px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 50px 200px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(4px 4px at 150px 300px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(6px 6px at 250px 400px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 350px 500px, rgba(255, 255, 255, 0.4), transparent);
    background-size: 650px 650px;
    animation: snow 10s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.theme-snow::after {
    margin-left: -250px;
    opacity: 0.5;
    filter: blur(2px);
    animation-duration: 15s;
    animation-direction: reverse;
}

@keyframes snow {
    to {
        transform: translateY(650px);
    }
}

/* Info Message Card */
/* Info Message Card */
.info-message-card {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
    color: #2ecc71;
}

.info-message-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   PREMIUM BONUS PAGE - WORLD-CLASS DESIGN
   ============================================ */

/* Hero Section */
.bonus-hero {
    text-align: center;
    padding: 32px 20px;
    margin-bottom: 32px;
    position: relative;
}

.bonus-hero-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--primary-gold) 50%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.bonus-hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Premium Grid Layout */
.bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px 24px;
    max-width: 600px;
    margin: 0 auto;
}

/* Premium Bonus Card - Glassmorphism */
.premium-bonus-card {
    position: relative;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Gradient Border Effect */
.premium-bonus-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(255, 199, 0, 0.2) 0%,
            transparent 50%,
            rgba(255, 199, 0, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-bonus-card:hover::before {
    opacity: 1;
}

/* Card Hover Effects */
.premium-bonus-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 199, 0, 0.2);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 199, 0, 0.15);
}

/* Icon Wrapper */
.bonus-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s var(--ease-out-quart);
    flex-shrink: 0;
}

.bonus-icon-wrapper svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
    transition: all 0.4s ease;
}

/* Icon Category Colors */
.bonus-icon-wrapper.loss {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.bonus-icon-wrapper.loss svg {
    color: #34d399;
}

.bonus-icon-wrapper.deposit {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.bonus-icon-wrapper.deposit svg {
    color: #60a5fa;
}

.bonus-icon-wrapper.welcome {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.bonus-icon-wrapper.welcome svg {
    color: #fbbf24;
}

.bonus-icon-wrapper.trial {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.bonus-icon-wrapper.trial svg {
    color: #a78bfa;
}

.bonus-icon-wrapper.social {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.15), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(244, 114, 182, 0.2);
}

.bonus-icon-wrapper.social svg {
    color: #f472b6;
}

/* Icon Hover Glow */
.premium-bonus-card:hover .bonus-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(255, 199, 0, 0.2);
}

.premium-bonus-card:hover .bonus-icon-wrapper svg {
    transform: scale(1.1);
}

/* Typography */
.bonus-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.premium-bonus-card:hover .bonus-card-title {
    color: var(--primary-gold);
}

.bonus-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* CTA Button */
.bonus-cta {
    display: none;
}

/* Animations */
@keyframes cardLift {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-8px) scale(1.02);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 199, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 199, 0, 0.5);
    }
}

/* Responsive Bonus Grid Styles */
@media (max-width: 768px) {
    .bonus-grid {
        padding: 0 16px 20px;
        gap: 12px;
    }

    .premium-bonus-card {
        padding: 16px;
        gap: 16px;
    }

    .bonus-icon-wrapper {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .bonus-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }

    .bonus-card-title {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 4px;
        word-wrap: break-word;
    }

    .bonus-card-desc {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Responsive Dashboard Grid (Bonus List & Index) */
    .dashboard-grid {
        gap: 12px;
        padding: 10px 0;
    }

    .dashboard-card {
        padding: 12px;
        gap: 12px;
    }

    .dashboard-card .card-title {
        font-size: 0.9rem;
        line-height: 1.3;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }

    .dashboard-card .login-btn-small {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    /* Responsive Call Form Styles */
    .form-container.glass-card {
        padding: 16px;
    }

    .form-header {
        margin-bottom: 16px;
    }

    .form-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .form-group {
        margin-bottom: 0px;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    .premium-input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .action-button-large {
        padding: 12px;
        font-size: 1rem;
    }

    /* Responsive Ticket Page Styles */
    .event-hero-card {
        padding: 16px;
    }

    .event-hero-card h2 {
        font-size: 1.2rem;
    }

    .event-stats-grid {
        gap: 4px;
        margin-bottom: 16px;
    }

    .stat-card {
        padding: 10px 4px;
        border-radius: 12px;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .stat-value {
        font-size: 0.9rem;
    }

    .prize-distribution-card {
        padding: 16px;
    }

    .prize-item {
        padding: 10px;
    }

    .prize-info span {
        font-size: 0.85rem;
    }

    /* Responsive Social Bonuses Page */
    .social-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .social-card {
        padding: 16px;
    }

    /* Responsive Maintenance Page */
    .maintenance-card {
        padding: 24px !important;
        width: 90% !important;
    }

    .maintenance-icon svg {
        width: 60px;
        height: 60px;
    }

    .maintenance-title {
        font-size: 1.5rem !important;
    }

    .maintenance-text {
        font-size: 1rem !important;
    }
}

/* Maintenance Page Styles */
.maintenance-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.maintenance-card {
    padding: 40px;
    max-width: 500px;
    width: 90%;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.maintenance-icon {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--primary-gold);
    filter: blur(40px);
    opacity: 0.2;
    border-radius: 50%;
}

.maintenance-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.maintenance-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.maintenance-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 199, 0, 0.1);
    border: 1px solid rgba(255, 199, 0, 0.2);
    border-radius: 50px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 10px var(--primary-gold);
}

.status-text {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 600;
}