.giveaway-main {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

#fireworksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

.bg-fx {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 10%, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 10;
}

.gw-header {
    text-align: center;
    margin-bottom: 50px;
}

.gw-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}

.gw-header p {
    color: #888;
    font-size: 1.1rem;
}

.gw-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.gw-tab {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #666;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gw-tab:hover {
    border-color: #fff;
    color: #fff;
}

.gw-tab.active {
    background: #ffd700;
    color: #000;
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

.gw-view {
    display: none;
    animation: fadeIn 0.5s ease;
}

.gw-view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gw-grid {
    display: grid;
    gap: 30px;
}

.active-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.gw-card {
    background: #080808;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
    width: 400px;
}

.gw-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
}

.gw-image {
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, #000 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.gw-image img {
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
    transition: 0.3s;
}

.gw-card:hover .gw-image img {
    transform: scale(1.1);
}

.gw-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: #fff;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 0 15px #e74c3c;
    animation: pulse 1.5s infinite;
}

.gw-content {
    padding: 25px;
}

.gw-content h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 800;
}

.gw-prize {
    color: #ffd700;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1rem;
}

.gw-timer-box {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.gw-timer-box .label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
}

.timer-display {
    color: #fff;
    font-family: monospace;
    font-weight: 700;
    font-size: 1rem;
}

.gw-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stat-item {
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-item span {
    color: #fff;
    font-weight: 700;
}

.toggle-entries-btn {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.toggle-entries-btn:hover {
    color: #fff;
}

.entries-drawer {
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, border-color 0.3s ease;
    opacity: 0.5;
}

.entries-drawer.open {
    max-height: 250px;
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.2);
}

.entries-list-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #666;
    font-weight: 800;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.entries-list-content {
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
}

.entry-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    transition: 0.2s;
}

.entry-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.entry-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-user img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.entry-user span {
    color: #ddd;
    font-size: 0.85rem;
    font-weight: 600;
}

.entry-id {
    font-family: monospace;
    color: #555;
    font-size: 0.75rem;
}

.loading-spinner {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

.gw-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.gw-btn.enter {
    background: #fff;
    color: #000;
}

.gw-btn.enter:hover {
    background: #ddd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.gw-btn.entered {
    background: rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
    color: #2ecc71;
    cursor: default;
}

.gw-btn.login {
    background: #5865F2;
    color: #fff;
    text-decoration: none;
}

.gw-btn.login:hover {
    background: #4752c4;
}

.winners-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.winner-card {
    background: linear-gradient(145deg, #0a0a0a, #000);
    border: 2px solid #ffd700;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
    transition: 0.3s;
}

.winner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
}

.winner-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    filter: blur(30px);
}

.winner-crown {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    animation: floatCrown 3s ease-in-out infinite;
}

@keyframes floatCrown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.winner-avatar-box {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.winner-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.winner-info h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 800;
}

.winner-id {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    color: #666;
    font-size: 0.75rem;
}

.winner-prize-box {
    margin: 20px 0;
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    padding: 10px;
    border-radius: 12px;
}

.w-label {
    display: block;
    font-size: 0.65rem;
    color: #ffd700;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

.w-prize {
    display: block;
    font-size: 1rem;
    color: #fff;
    font-weight: 800;
}

.w-sub {
    display: block;
    font-size: 0.8rem;
    color: #aaa;
}

.winner-date {
    font-size: 0.75rem;
    color: #444;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.empty-gw {
    text-align: center;
    padding: 60px;
    color: #444;
    border: 2px dashed rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.empty-gw i {
    font-size: 3rem;
    margin-bottom: 15px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}