/* Dark Mode Premium Giveaway Styles */

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    min-height: 100vh;
}

/* Category Section */
.category {
    margin-top: 20px;
    margin-bottom: 50px;
    background: rgba(22, 33, 62, 0.5);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(233, 69, 96, 0.15);
    backdrop-filter: blur(10px);
}


.upcoming-box {
    border: 1px solid rgba(233, 69, 96, 0.15);
    padding: 20px;
    text-align: center;
    display: block;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.game {
    margin-top: 20px;
    margin-bottom: 50px;
    align-items: center;
    margin-bottom: 18px;
    gap: 15px;
}

.game-details h3 {
    margin: 0 0 5px 0;
}


/* First category needs more space from header */
.category:first-of-type {
    margin-top: 20px;
}

.category h2 {
    color: #ffffff;
    font-size: 2em;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e94560;
}

/* Game Box */
.game {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    margin-bottom: 20px;

    background: linear-gradient(145deg, #16213e, #0f3460);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 20px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);

    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Shine effect on hover */
.game::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.2), transparent);
    transition: left 0.5s ease;
}

.game:hover::before {
    left: 100%;
}

.game:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(233, 69, 96, 0.3);
    border-color: rgba(233, 69, 96, 0.5);
}

/* Game Image */
.game img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 15px;
    border: 2px solid rgba(233, 69, 96, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.game:hover img {
    transform: scale(1.05);
}

/* Game Details */
.game-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.game-details h3 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 1.5em;
    font-weight: 600;
}

.game-details p {
    margin: 0;
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95em;
}

.game-details a {
    color: #00d2ff;
    text-decoration: none;
    font-weight: bold;
}

.game-details a:hover {
    color: #3a47d5;
}

/* Dates */
.dates {
    font-size: 0.9em;
    color: #888;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 8px;
    display: inline-block;
}

/* No Games Message */
.no-games {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 60px 20px;
    font-size: 1.2em;
}

/* Box styling */
.box {
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 20px;
    padding: 25px;
    background: linear-gradient(145deg, #16213e, #0f3460);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Box title styling (for Current giveaways, Upcoming giveaways headings) */
.box > h1,
.box > h2,
.box > h3 {
    color: #ffffff;
    font-size: 2em;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e94560;
}

/* Remove border from game titles inside boxes */
.box .game h3 {
    border-bottom: none;
    padding-bottom: 0;
}

/* Subtitle text in boxes (like "Subscribe to unlock them") */
.box p {
    color: #b8c5d6;
    margin-bottom: 20px;
}

/* Get Game Button */
.get-game-btn {
    display: inline-block;
    margin-left: auto;
    width: 140px;
    padding: 14px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00d2ff 0%, #3a47d5 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(58, 71, 213, 0.4);
    position: relative;
    z-index: 1;
}

.get-game-btn:hover,
.get-game-btn:active,
.get-game-btn:focus {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58, 71, 213, 0.6);
    text-decoration: none !important;
}

/* Unlock Premium Button */
.premium-btn {
    padding: 14px 20px;
    background: linear-gradient(135deg, #ff9800 0%, #ff6b00 100%);
    color: #fff !important;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
    position: relative;
    z-index: 1;
}

.premium-btn:hover,
.premium-btn:active,
.premium-btn:focus {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.6);
    text-decoration: none !important;
}

/* For Premium Button */
.game-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.game-action .premium-btn,
.game-action .get-game-btn {
    display: inline-block;
    width: 140px;
    padding: 14px 20px;
    font-size: 1em;
    text-align: center;
}

/* Badge System */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff3838 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
}

.badge-ending {
    background: linear-gradient(135deg, #ffd93d 0%, #ffb800 100%);
    color: #333;
    box-shadow: 0 3px 10px rgba(255, 217, 61, 0.4);
}

.badge-premium {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .game {
        flex-direction: column;
        text-align: center;
    }

    .game img {
        width: 120px;
        height: 120px;
    }

    .game-action {
        width: 100%;
        margin-top: 15px;
    }

    .game-details h3 {
        font-size: 1.2em;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f0f1e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e94560 0%, #ff6b9d 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #e94560 100%);
}

