/* Reset và Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Register Form Styles */
.lucky-draw-register-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

.lucky-draw-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: radial-gradient(circle, rgba(34, 193, 195, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(34, 193, 195, 0.6);
}

.logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.main-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(34, 193, 195, 0.8);
}

.register-card {
    background: linear-gradient(135deg, rgba(13, 71, 61, 0.9) 0%, rgba(18, 94, 82, 0.9) 100%);
    border: 2px solid #22c1c3;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 0 60px rgba(34, 193, 195, 0.4);
}

.welcome-text {
    color: #22c1c3;
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(34, 193, 195, 0.8);
}

.subtitle,
.provider {
    color: #22c1c3;
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
}

.provider {
    font-size: 24px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #22c1c3;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(34, 193, 195, 0.5);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #22c1c3 0%, #1a9a9c 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 193, 195, 0.4);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 193, 195, 0.6);
}

.lucky-number-result {
    margin-top: 30px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.result-label {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
}

.lucky-number-display {
    background: rgba(0, 0, 0, 0.3);
    border: 3px solid #22c1c3;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 30px rgba(34, 193, 195, 0.6);
}

.lucky-number-display span {
    color: #22c1c3;
    font-size: 48px;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(34, 193, 195, 1);
    font-family: 'Courier New', monospace;
}

.footer-info {
    margin-top: 30px;
    text-align: center;
}

.footer-info p {
    color: #22c1c3;
    font-size: 14px;
}

/* Spin Wheel Styles */
.lucky-draw-spin-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 20px;
    font-family: 'Arial', sans-serif;
    position: relative;
}

/* Round Info Bar */
.round-info-bar {
    background: rgba(13, 71, 61, 0.8);
    border: 2px solid #22c1c3;
    border-radius: 15px;
    padding: 15px 30px;
    margin: 0 auto 20px;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 30px rgba(34, 193, 195, 0.4);
}

.current-round-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.round-label {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
}

.round-number {
    background: #22c1c3;
    color: #1a1a2e;
    font-size: 28px;
    font-weight: bold;
    padding: 5px 20px;
    border-radius: 10px;
    min-width: 60px;
    text-align: center;
}

.round-actions {
    display: flex;
    gap: 15px;
}

/* Bottom Controls - Nút điều khiển */
.bottom-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px auto;
    max-width: 600px;
}

.btn-bottom-control {
    flex: 1;
    padding: 15px 40px;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-bottom-control::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-bottom-control:hover::before {
    width: 300px;
    height: 300px;
}

.btn-bottom-control .btn-label {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-reset {
    background: linear-gradient(135deg, #22c1c3 0%, #1a9a9c 100%);
    box-shadow: 0 4px 15px rgba(34, 193, 195, 0.4);
}

.btn-reset:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(34, 193, 195, 0.6);
}

.btn-reset:active {
    transform: translateY(-1px);
}

.btn-end {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-end:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.6);
}

.btn-end:active {
    transform: translateY(-1px);
}

/* Rounds Tabs */
.rounds-tabs-container {
    max-width: 1400px;
    margin: 30px auto 0;
    background: rgba(13, 71, 61, 0.6);
    border: 2px solid #22c1c3;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 30px rgba(34, 193, 195, 0.4);
}

.rounds-tabs-header h3 {
    color: #22c1c3;
    margin: 0 0 15px 0;
    font-size: 24px;
    text-align: center;
}

.rounds-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    justify-content: center;
}

.round-tab {
    background: rgba(34, 193, 195, 0.2);
    border: 2px solid #22c1c3;
    border-radius: 8px;
    padding: 10px 20px;
    color: #22c1c3;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.round-tab:hover {
    background: rgba(34, 193, 195, 0.3);
    transform: translateY(-2px);
}

.round-tab.active {
    background: #22c1c3;
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(34, 193, 195, 0.6);
}

.rounds-tabs-content {
    min-height: 200px;
}

.round-content {
    display: none;
}

.round-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.round-winners-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.winner-card {
    background: rgba(34, 193, 195, 0.1);
    border: 2px solid #22c1c3;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.winner-card:hover {
    background: rgba(34, 193, 195, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 193, 195, 0.4);
}

.winner-card-number {
    font-size: 32px;
    font-weight: bold;
    color: #22c1c3;
    text-align: center;
    margin-bottom: 10px;
}

.winner-card-name {
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    margin-bottom: 5px;
}

.winner-card-org {
    color: #22c1c3;
    font-size: 14px;
    text-align: center;
    opacity: 0.8;
}

.no-winners {
    color: #ffffff;
    text-align: center;
    padding: 40px;
    font-size: 18px;
    opacity: 0.6;
}

/* Reset Round Modal */
.reset-modal,
.end-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.reset-modal-content,
.end-modal-content {
    background: linear-gradient(135deg, rgba(13, 71, 61, 0.95) 0%, rgba(18, 94, 82, 0.95) 100%);
    border: 3px solid #22c1c3;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 80px rgba(34, 193, 195, 0.8);
    animation: scaleIn 0.4s ease;
    max-width: 500px;
    width: 90%;
}

.reset-modal-content h2,
.end-modal-content h2 {
    color: #22c1c3;
    font-size: 32px;
    margin-bottom: 20px;
}

.reset-modal-content p,
.end-modal-content p {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
}

.reset-modal-info,
.end-modal-info {
    background: rgba(34, 193, 195, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.reset-modal-info p,
.end-modal-info p {
    color: #22c1c3;
    font-size: 16px;
    margin-bottom: 10px;
}

.reset-modal-info p:last-child,
.end-modal-info p:last-child {
    margin-bottom: 0;
}

.reset-modal-buttons,
.end-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.btn-confirm-reset,
.btn-confirm-end {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a8a0 100%);
    border: none;
    border-radius: 10px;
    padding: 15px 40px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-end {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.btn-confirm-reset:hover,
.btn-confirm-end:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.6);
}

.btn-cancel-reset,
.btn-cancel-end {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 15px 40px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel-reset:hover,
.btn-cancel-end:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}


/* Fullscreen Button */
.btn-fullscreen {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #22c1c3 0%, #1a9a9c 100%);
    border: 2px solid #22c1c3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 193, 195, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.btn-fullscreen:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(34, 193, 195, 0.6);
    background: linear-gradient(135deg, #1a9a9c 0%, #22c1c3 100%);
}

.btn-fullscreen:active {
    transform: translateY(0) scale(1);
}

.fullscreen-icon {
    font-size: 22px;
    line-height: 1;
}

/* Fullscreen Mode Styles */
.lucky-draw-spin-container:fullscreen,
.lucky-draw-spin-container:-webkit-full-screen,
.lucky-draw-spin-container:-moz-full-screen,
.lucky-draw-spin-container:-ms-fullscreen {
    width: 100vw;
    height: 100vh;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.lucky-draw-spin-container:fullscreen .spin-header,
.lucky-draw-spin-container:-webkit-full-screen .spin-header {
    margin-bottom: 20px;
}

.lucky-draw-spin-container:fullscreen .spin-title,
.lucky-draw-spin-container:-webkit-full-screen .spin-title {
    font-size: 48px;
}

.lucky-draw-spin-container:fullscreen .logo-spin img,
.lucky-draw-spin-container:-webkit-full-screen .logo-spin img {
    width: 100px;
    height: 100px;
}

.lucky-draw-spin-container:fullscreen .spin-content,
.lucky-draw-spin-container:-webkit-full-screen .spin-content {
    flex: 1;
    display: flex;
    gap: 40px;
    align-items: center;
}

.lucky-draw-spin-container:fullscreen .sidebar-left,
.lucky-draw-spin-container:fullscreen .sidebar-right,
.lucky-draw-spin-container:-webkit-full-screen .sidebar-left,
.lucky-draw-spin-container:-webkit-full-screen .sidebar-right {
    max-width: 300px;
    height: 600px;
}

.lucky-draw-spin-container:fullscreen .sidebar-title,
.lucky-draw-spin-container:-webkit-full-screen .sidebar-title {
    font-size: 24px;
}

.lucky-draw-spin-container:fullscreen .prize-list,
.lucky-draw-spin-container:-webkit-full-screen .prize-list {
    max-height: 520px;
}

.lucky-draw-spin-container:fullscreen .prize-list li,
.lucky-draw-spin-container:-webkit-full-screen .prize-list li {
    font-size: 18px;
    padding: 12px;
}

.lucky-draw-spin-container:fullscreen .wheel-container,
.lucky-draw-spin-container:-webkit-full-screen .wheel-container {
    width: 500px;
    height: 500px;
}

.lucky-draw-spin-container:fullscreen .spinning-number,
.lucky-draw-spin-container:-webkit-full-screen .spinning-number {
    font-size: 150px;
}

.lucky-draw-spin-container:fullscreen .spin-info,
.lucky-draw-spin-container:-webkit-full-screen .spin-info {
    font-size: 24px;
    margin-bottom: 30px;
}

.lucky-draw-spin-container:fullscreen .winner-number-item,
.lucky-draw-spin-container:-webkit-full-screen .winner-number-item {
    font-size: 32px;
    padding: 15px 30px;
}

.lucky-draw-spin-container:fullscreen .btn-spin,
.lucky-draw-spin-container:-webkit-full-screen .btn-spin {
    padding: 20px 70px;
    font-size: 28px;
}

/* Bottom Controls in Fullscreen */
.lucky-draw-spin-container:fullscreen .bottom-controls,
.lucky-draw-spin-container:-webkit-full-screen .bottom-controls {
    max-width: 800px;
    gap: 30px;
}

.lucky-draw-spin-container:fullscreen .btn-bottom-control,
.lucky-draw-spin-container:-webkit-full-screen .btn-bottom-control {
    padding: 18px 50px;
    font-size: 20px;
}

/* Fullscreen Exit Button */
.lucky-draw-spin-container:fullscreen .btn-fullscreen,
.lucky-draw-spin-container:-webkit-full-screen .btn-fullscreen {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border-color: #ff6b6b;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.lucky-draw-spin-container:fullscreen .btn-fullscreen:hover,
.lucky-draw-spin-container:-webkit-full-screen .btn-fullscreen:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #ff6b6b 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

/* Winner Modal in Fullscreen */
.lucky-draw-spin-container:fullscreen .winner-modal-content,
.lucky-draw-spin-container:-webkit-full-screen .winner-modal-content {
    padding: 80px;
    max-width: 800px;
}

.lucky-draw-spin-container:fullscreen .winner-modal-content h2,
.lucky-draw-spin-container:-webkit-full-screen .winner-modal-content h2 {
    font-size: 56px;
    margin-bottom: 40px;
}

.lucky-draw-spin-container:fullscreen .winner-number span,
.lucky-draw-spin-container:-webkit-full-screen .winner-number span {
    font-size: 72px;
}

.lucky-draw-spin-container:fullscreen .winner-name,
.lucky-draw-spin-container:fullscreen .winner-org,
.lucky-draw-spin-container:-webkit-full-screen .winner-name,
.lucky-draw-spin-container:-webkit-full-screen .winner-org {
    font-size: 32px;
    margin-bottom: 20px;
}

.lucky-draw-spin-container:fullscreen .btn-modal-close,
.lucky-draw-spin-container:-webkit-full-screen .btn-modal-close {
    padding: 20px 70px;
    font-size: 28px;
}


.spin-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-spin img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.spin-title {
    color: #22c1c3;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(34, 193, 195, 0.8);
}

.spin-content {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.sidebar-left,
.sidebar-right {
    flex: 1;
    background: rgba(13, 71, 61, 0.6);
    border: 2px solid #22c1c3;
    border-radius: 15px;
    padding: 20px;
    max-width: 250px;
}

.sidebar-title {
    color: #22c1c3;
    text-align: center;
    margin-bottom: 15px;
    font-size: 20px;
}

.prize-list {
    list-style: none;
    max-height: 500px;
    overflow-y: auto;
}

.prize-list::-webkit-scrollbar {
    width: 8px;
}

.prize-list::-webkit-scrollbar-track {
    background: rgba(34, 193, 195, 0.1);
    border-radius: 4px;
}

.prize-list::-webkit-scrollbar-thumb {
    background: rgba(34, 193, 195, 0.5);
    border-radius: 4px;
}

.prize-list::-webkit-scrollbar-thumb:hover {
    background: rgba(34, 193, 195, 0.7);
}

.prize-list li {
    color: #22c1c3;
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(34, 193, 195, 0.1);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.prize-list li strong {
    display: inline-block;
    min-width: 50px;
    font-size: 16px;
    color: #22c1c3;
}

.prize-list li:hover {
    background: rgba(34, 193, 195, 0.2);
    transform: translateX(5px);
}


.spin-wheel-area {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wheel-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin-bottom: 30px;
}

.wheel-circle {
    width: 100%;
    height: 100%;
    border: 8px solid #22c1c3;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 71, 61, 0.9) 0%, rgba(18, 94, 82, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(34, 193, 195, 0.6),
        inset 0 0 60px rgba(34, 193, 195, 0.3);
    position: relative;
}

.wheel-circle::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border: 4px solid #22c1c3;
    border-radius: 50%;
    opacity: 0.5;
}

.spinning-number {
    color: #22c1c3;
    font-size: 120px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 30px rgba(34, 193, 195, 1);
    z-index: 10;
}

.particle-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.spin-info {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.spin-counter span {
    color: #22c1c3;
    font-weight: bold;
}

.winner-numbers {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    min-height: 60px;
}

.winner-number-item {
    background: rgba(34, 193, 195, 0.2);
    border: 2px solid #22c1c3;
    border-radius: 10px;
    padding: 10px 20px;
    color: #22c1c3;
    font-size: 24px;
    font-weight: bold;
    animation: popIn 0.5s ease;
}

.spin-controls {
    display: flex;
    gap: 20px;
}

.btn-spin {
    padding: 15px 50px;
    background: linear-gradient(135deg, #22c1c3 0%, #1a9a9c 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 193, 195, 0.4);
}

.btn-spin:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 193, 195, 0.6);
}

.btn-stop {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

/* Winner Modal */
.winner-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.winner-modal-content {
    background: linear-gradient(135deg, rgba(13, 71, 61, 0.95) 0%, rgba(18, 94, 82, 0.95) 100%);
    border: 3px solid #22c1c3;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 0 80px rgba(34, 193, 195, 0.8);
    animation: scaleIn 0.5s ease;
}

.winner-modal-content h2 {
    color: #22c1c3;
    font-size: 36px;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(34, 193, 195, 1);
}

.winner-info {
    margin-bottom: 30px;
}

.winner-number,
.winner-name,
.winner-org {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 15px;
}

.winner-number span {
    color: #22c1c3;
    font-size: 48px;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(34, 193, 195, 1);
}

.btn-modal-close {
    padding: 15px 50px;
    background: linear-gradient(135deg, #22c1c3 0%, #1a9a9c 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(34, 193, 195, 0.3);
    border-top-color: #22c1c3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.spinning .spinning-number {
    animation: pulse 0.1s ease-in-out infinite;
}

@keyframes fall {
    to {
        transform: translateY(500px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .spin-content {
        flex-direction: column;
        align-items: center;
    }

    .sidebar-left,
    .sidebar-right {
        max-width: 100%;
        width: 100%;
    }

    .btn-fullscreen {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .wheel-container {
        width: 300px;
        height: 300px;
    }

    .spinning-number {
        font-size: 80px;
    }

    .spin-title {
        font-size: 24px;
    }

    .btn-spin {
        padding: 12px 30px;
        font-size: 16px;
    }

    .register-card {
        padding: 30px 20px;
    }

    .winner-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .btn-fullscreen {
        top: 10px;
        right: 10px;
        padding: 8px 16px;
        font-size: 12px;
    }

    .fullscreen-text {
        display: none;
    }

    .bottom-controls {
        flex-direction: column;
        max-width: 400px;
        gap: 15px;
        padding: 0 20px;
    }

    .btn-bottom-control {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Tối ưu cho màn hình Full HD (1920x1080) */
@media (min-width: 1920px) {
    .lucky-draw-spin-container {
        padding: 40px;
    }

    .spin-title {
        font-size: 42px;
    }

    .sidebar-left,
    .sidebar-right {
        max-width: 350px;
    }

    .wheel-container {
        width: 500px;
        height: 500px;
    }

    .spinning-number {
        font-size: 150px;
    }

    .prize-list li {
        font-size: 16px;
        padding: 12px;
    }

    .btn-spin {
        padding: 18px 60px;
        font-size: 22px;
    }

    .winner-number-item {
        font-size: 28px;
        padding: 12px 25px;
    }
}

/* Tối ưu cho màn hình 4K */
@media (min-width: 2560px) {
    .lucky-draw-spin-container {
        padding: 60px;
    }

    .spin-title {
        font-size: 56px;
    }

    .sidebar-left,
    .sidebar-right {
        max-width: 450px;
    }

    .sidebar-title {
        font-size: 28px;
    }

    .wheel-container {
        width: 600px;
        height: 600px;
    }

    .spinning-number {
        font-size: 180px;
    }

    .prize-list li {
        font-size: 20px;
        padding: 15px;
    }

    .btn-spin {
        padding: 22px 80px;
        font-size: 26px;
    }

    .winner-number-item {
        font-size: 36px;
        padding: 18px 35px;
    }

    .spin-info {
        font-size: 24px;
    }
}

/* Responsive cho nút Fullscreen */
@media (max-width: 768px) {
    .btn-fullscreen {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .fullscreen-icon {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .btn-fullscreen {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .fullscreen-icon {
        font-size: 18px;
    }

    .bottom-controls {
        gap: 12px;
        max-width: 100%;
    }

    .btn-bottom-control {
        padding: 12px 20px;
        font-size: 15px;
    }

    .btn-bottom-control .btn-label {
        font-size: 14px;
    }
}