* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #1a1a1a;
    color: #ffffff;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

#giveaway-container {
    background: #2c2c2c;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.prize-title {
    font-size: 2em;
    margin-bottom: 30px;
    color: #7289da;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.time-block {
    background: #3a3a3a;
    padding: 20px;
    border-radius: 8px;
    min-width: 100px;
}

.time-block span {
    display: block;
}

.time-block span:first-child {
    font-size: 2.5em;
    font-weight: bold;
    color: #7289da;
}

.label {
    margin-top: 5px;
    font-size: 0.9em;
    color: #999;
}

.info {
    margin-top: 30px;
    font-size: 1.1em;
}

.host-info {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: #2f3136;
    padding: 15px;
    border-radius: 10px;
}

.host-info img.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid #7289da;
}

.host-info p {
    margin: 0;
}

.entries-section {
    background: #2f3136;
    padding: 20px;
    border-radius: 10px;
}

.entries-section h3 {
    margin: 0 0 15px 0;
    color: #fff;
}

.entries-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.participant-card {
    display: flex;
    align-items: center;
    background: #36393f;
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.participant-card:hover {
    transform: translateY(-2px);
}

.participant-card img.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

.participant-card .participant-info {
    overflow: hidden;
}

.participant-card .participant-name {
    color: #fff;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.participant-card .participant-tag {
    color: #72767d;
    font-size: 0.8em;
}

#entries, #host {
    color: #7289da;
    font-weight: bold;
}

/* Scrollbar styling */
.entries-list::-webkit-scrollbar {
    width: 8px;
}

.entries-list::-webkit-scrollbar-track {
    background: #2f3136;
    border-radius: 4px;
}

.entries-list::-webkit-scrollbar-thumb {
    background: #202225;
    border-radius: 4px;
}

.entries-list::-webkit-scrollbar-thumb:hover {
    background: #36393f;
}

.error-message {
    background: #f04747;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.error-message h2 {
    color: white;
    margin-bottom: 10px;
}

.error-message p {
    color: rgba(255, 255, 255, 0.9);
}

.winners {
    margin-top: 20px;
    padding: 20px;
    background: #43b581;
    border-radius: 10px;
    color: white;
}

.winners h3 {
    margin-bottom: 15px;
    font-size: 1.3em;
    text-align: center;
}

.winners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.winner-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.winner-card img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #fff;
}

.winner-card span {
    font-weight: bold;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.status.active {
    animation: pulse 2s infinite;
}