/**
 * SASOKI's Wheel of Fortune - Styles
 *
 * Responsive raffle wheel with animations and effects
 *
 * @version 1.0.0
 */

/* ===================================================
   BASE LAYOUT
   =================================================== */

.wof-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    border-radius: 20px;
    overflow: hidden;
}

.wof-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(185, 242, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.wof-wrapper>* {
    position: relative;
    z-index: 2;
}

/* ===================================================
   DEMO MODE BADGE
   =================================================== */

.wof-demo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: demoPulse 2s ease-in-out infinite;
}

@keyframes demoPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    }
}

/* ===================================================
   HEADER
   =================================================== */

.wof-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.wof-title {
    font-family: 'Japanese Style', 'Arial Black', sans-serif;
    font-size: 48px;
    font-weight: bold;
    color: #FFD700;
    text-shadow:
        0 0 20px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3),
        0 2px 10px rgba(0, 0, 0, 0.8);
    margin: 0;
    text-align: center;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    }

    50% {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.5);
    }
}

.wof-info-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #FFD700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wof-info-button:hover {
    background: rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.wof-info-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFD700;
    display: block;
}

/* Circle with dot - using pseudo-element for "i" shape */
.wof-info-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #FFD700;
}

.wof-info-icon::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 12px;
    background: #FFD700;
    border-radius: 2px;
}

/* ===================================================
   STATS BAR
   =================================================== */

.wof-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.wof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.wof-stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.wof-stat-icon {
    font-size: 32px;
}

.wof-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #aaa;
    letter-spacing: 1px;
}

.wof-stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ===================================================
   MAIN CONTAINER (Wheel + Characters)
   =================================================== */

.wof-main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    position: relative;
}

.wof-character {
    flex-shrink: 0;
    animation: characterFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.wof-character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wof-character-left {
    animation-delay: 0s;
}

.wof-character-right {
    animation-delay: 1s;
}

@keyframes characterFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===================================================
   WHEEL CONTAINER
   =================================================== */

.wof-wheel-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.wof-wheel-canvas {
    border-radius: 50%;
    box-shadow:
        0 0 50px rgba(255, 215, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease;
}

.wof-wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid #ff0000;
    filter: drop-shadow(0 5px 15px rgba(255, 0, 0, 0.7));
    z-index: 10;
    animation: pointerPulse 1.5s ease-in-out infinite;
}

@keyframes pointerPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.1);
    }
}

.wof-wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #FFD700, #FF8C00);
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.8),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    pointer-events: none;
}

/* ===================================================
   TICKET PURCHASE PANEL
   =================================================== */

.wof-purchase-panel {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
}

.wof-panel-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #FFD700;
    margin: 0 0 30px 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.wof-ticket-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.wof-ticket-option {
    position: relative;
    padding: 25px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wof-ticket-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.5);
}

.wof-popular {
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.wof-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff0000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.5);
}

.wof-ticket-badge {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.wof-badge-bronze {
    color: #CD7F32;
}

.wof-badge-silver {
    color: #C0C0C0;
}

.wof-badge-gold {
    color: #FFD700;
}

.wof-badge-diamond {
    color: #B9F2FF;
}

.wof-ticket-price {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin: 10px 0;
}

.wof-ticket-entries {
    font-size: 14px;
    color: #aaa;
    margin: 5px 0;
}

.wof-usd-value {
    font-size: 13px;
    color: #4CAF50;
    font-weight: 500;
    margin: 3px 0;
    opacity: 0.9;
}

.wof-ticket-bonus,
.wof-ticket-value {
    font-size: 14px;
    color: #4CAF50;
    font-weight: bold;
    margin: 5px 0;
}

.wof-buy-button {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wof-buy-button:hover {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.6);
    transform: scale(1.05);
}

.wof-buy-button:active {
    transform: scale(0.98);
}

/* ===================================================
   WALLET STATUS
   =================================================== */

.wof-wallet-status {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.wof-connect-wallet {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.wof-connect-wallet:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.wof-wallet-info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.wof-wallet-address {
    color: #aaa;
    font-family: monospace;
}

.wof-user-tickets {
    color: #fff;
}

.wof-user-tickets strong {
    color: #FFD700;
    font-size: 18px;
}

/* ===================================================
   PRIZE INFO
   =================================================== */

.wof-prize-info {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.wof-prize-info h4 {
    text-align: center;
    font-size: 24px;
    color: #FFD700;
    margin: 0 0 20px 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.wof-prize-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.wof-prize-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wof-prize-place {
    font-size: 16px;
    color: #fff;
}

.wof-prize-percent {
    font-size: 20px;
    font-weight: bold;
    color: #FFD700;
}

.wof-house-fee {
    opacity: 0.7;
}

/* ===================================================
   INFO MODAL
   =================================================== */

.wof-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.wof-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5vh;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.wof-modal-content {
    position: relative;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s ease;
    margin: 20px auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wof-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 50%;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wof-modal-close:hover {
    background: rgba(255, 0, 0, 0.4);
    transform: rotate(90deg);
}

.wof-modal-title {
    font-size: 32px;
    color: #FFD700;
    margin: 0 0 20px 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.wof-modal-body {
    color: #fff;
    line-height: 1.8;
}

.wof-modal-body h4 {
    color: #FFD700;
    margin: 20px 0 10px 0;
}

.wof-modal-body ul,
.wof-modal-body ol {
    margin: 10px 0;
    padding-left: 25px;
}

.wof-modal-body li {
    margin: 8px 0;
}

.wof-modal-body strong {
    color: #FFD700;
}

/* ===================================================
   PARTICLES CANVAS
   =================================================== */

.wof-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ===================================================
   ANIMATIONS
   =================================================== */

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes confetti {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(500px) rotate(720deg);
        opacity: 0;
    }
}

/* ===================================================
   WINNER HISTORY
   =================================================== */

.wof-winner-history {
    margin-top: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.wof-history-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.wof-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wof-history-loading {
    text-align: center;
    padding: 30px;
    color: #aaa;
    font-style: italic;
}

.wof-history-empty {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 2px dashed rgba(255, 215, 0, 0.3);
}

.wof-history-empty p {
    font-size: 24px;
    color: #FFD700;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.wof-history-item {
    display: grid;
    grid-template-columns: 80px 1fr 150px 100px;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.wof-history-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(5px);
}

.wof-history-place {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
}

.wof-history-place.first {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.wof-history-place.second {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
}

.wof-history-place.third {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.5);
}

.wof-history-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wof-history-wallet {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

.wof-history-wallet a {
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.wof-history-wallet a:hover {
    color: #FFF;
    background: rgba(255, 215, 0, 0.2);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    transform: translateX(2px);
}

.wof-history-date {
    font-size: 12px;
    color: #888;
}

.wof-history-amount {
    font-size: 18px;
    font-weight: bold;
    color: #4CAF50;
    text-align: right;
}

.wof-history-tx {
    text-align: right;
}

.wof-history-tx-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    text-decoration: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.wof-history-tx-link:hover {
    background: rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
    transform: scale(1.05);
}

/* ===================================================
   PROVABLY FAIR SECTION
   =================================================== */

.wof-provably-fair {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 255, 136, 0.05);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.wof-pf-title {
    text-align: center;
    font-size: 28px;
    color: #00ff88;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wof-pf-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.wof-pf-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.wof-pf-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2);
}

.wof-pf-icon {
    font-size: 36px;
    margin-bottom: 10px;
    text-align: center;
}

.wof-pf-card h4 {
    color: #00ff88;
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

.wof-pf-card p {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.wof-pf-card a {
    color: #00ff88;
    text-decoration: underline;
}

.wof-pf-verify {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 4px solid #00ff88;
}

.wof-pf-verify strong {
    display: block;
    color: #00ff88;
    font-size: 16px;
    margin-bottom: 10px;
}

.wof-pf-verify ol {
    margin: 0;
    padding-left: 20px;
    color: #e0e0e0;
}

.wof-pf-verify li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.wof-pf-verify a {
    color: #00ff88;
    font-weight: bold;
    text-decoration: none;
}

.wof-pf-verify a:hover {
    text-decoration: underline;
}

/* ===================================================
   SECURITY WARNING
   =================================================== */

.wof-security-warning {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 152, 0, 0.1);
    border: 2px solid rgba(255, 152, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.wof-warning-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.wof-warning-content {
    flex: 1;
}

.wof-warning-content strong {
    display: block;
    color: #ffa726;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}

.wof-warning-content p {
    margin: 0;
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
}

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 1024px) {
    .wof-title {
        font-size: 36px;
    }

    .wof-main-container {
        gap: 20px;
    }

    .wof-character {
        width: 150px !important;
        height: 150px !important;
    }

    .wof-wheel-canvas {
        width: 300px !important;
        height: 300px !important;
    }

    .wof-security-warning {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .wof-warning-icon {
        font-size: 24px;
    }

    .wof-warning-content strong {
        font-size: 14px;
    }

    .wof-warning-content p {
        font-size: 12px;
    }

    .wof-history-item {
        grid-template-columns: 70px 1fr 130px 90px;
        gap: 10px;
        padding: 12px;
    }

    .wof-history-place {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .wof-wrapper {
        padding: 20px 10px;
        border-radius: 15px;
    }

    .wof-title {
        font-size: 24px;
    }

    .wof-header {
        gap: 10px;
    }

    .wof-info-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .wof-stats {
        flex-direction: column;
        gap: 8px;
    }

    .wof-stat {
        padding: 12px 15px;
        font-size: 14px;
    }

    .wof-stat-label {
        font-size: 11px;
    }

    .wof-stat-value {
        font-size: 16px;
    }

    .wof-main-container {
        flex-direction: column;
        gap: 20px;
    }

    .wof-character {
        width: 80px !important;
        height: 80px !important;
    }

    .wof-wheel-canvas {
        width: 280px !important;
        height: 280px !important;
    }

    .wof-ticket-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wof-ticket-card {
        padding: 15px;
    }

    .wof-ticket-name {
        font-size: 16px;
    }

    .wof-ticket-price {
        font-size: 20px;
    }

    .wof-ticket-entries {
        font-size: 12px;
    }

    .wof-ticket-value {
        font-size: 12px;
    }

    .wof-buy-button {
        padding: 10px;
        font-size: 14px;
    }

    .wof-wallet-section {
        padding: 15px;
    }

    .wof-connect-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .wof-modal-content {
        padding: 25px 15px;
        margin: 20px 10px;
        max-width: 95%;
    }

    .wof-modal-title {
        font-size: 20px;
    }

    .wof-modal-body {
        font-size: 14px;
    }

    .wof-security-warning {
        padding: 12px;
        margin-top: 20px;
    }

    .wof-warning-icon {
        font-size: 20px;
    }

    .wof-warning-content strong {
        font-size: 13px;
    }

    .wof-warning-content p {
        font-size: 11px;
    }

    .wof-winner-history {
        margin-top: 25px;
        padding: 15px;
    }

    .wof-history-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .wof-history-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .wof-history-place {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin: 0 auto;
    }

    .wof-history-info {
        text-align: center;
    }

    .wof-history-wallet {
        font-size: 12px;
        word-break: break-all;
    }

    .wof-history-amount {
        text-align: center;
        font-size: 16px;
    }

    .wof-history-tx {
        text-align: center;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .wof-wrapper {
        padding: 15px 8px;
    }

    .wof-title {
        font-size: 20px;
    }

    .wof-wheel-canvas {
        width: 240px !important;
        height: 240px !important;
    }

    .wof-character {
        display: none;
        /* Hide characters on very small screens */
    }

    .wof-stat-icon {
        display: none;
        /* Hide icons to save space */
    }

    .wof-ticket-card {
        padding: 12px;
    }
}

/* ===================================================
   UTILITY CLASSES
   =================================================== */

.wof-spinning {
    pointer-events: none;
}

.wof-winner-highlight {
    animation: winnerPulse 0.5s ease-in-out 3;
}

@keyframes winnerPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.wof-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}