/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #310909 0%, #310909 100%);
    background-image: radial-gradient(#6b0000 5%, #000000 50%);
    background-size: 5px 5px;
    background-attachment: fixed;
    color: #fff;
    min-height: 100vh;
}

/* Topbar */
.topbar {
    background: linear-gradient(180deg, #310909 0%, #310909 100%);
    background-image: radial-gradient(#6b0000 5%, #000000 50%);
    background-size: 5px 5px;
    background-attachment: fixed;
    padding-bottom: 20px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: #050000;
    border-radius: 10px;
    padding: 5px;
    flex: 1;
    max-width: 500px;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.search-box input::placeholder {
    color: #838383;
}

.search-box button {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #cecece;
}

/* Hero */
.hero {
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero p {
    font-size: clamp(14px, 3vw, 18px);
    color: #b1b1b1;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Divider */
.divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #ff0000 50%, transparent 100%);
    margin: 20px auto;
    max-width: 1200px;
}

/* Content */
.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Cards Grid */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    justify-items: center;
}

/* Card */
.card {
    background: linear-gradient(145deg, #000000 0%, #ff0000 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 350px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Card Media */
.card-media {
    position: relative;
    width: 100%;
    height: 200px;
    background: #0f0f23;
}

.card-media iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Card Body */
.card-body {
    padding: 20px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-prize {
    font-size: 24px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

.card-date {
    font-size: 13px;
    color: #c5c5c5;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 14px;
    color: #c5c5c5;
    margin-bottom: 18px;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    background: linear-gradient(135deg, #c90000 0%, #ff7300 100%);
    color: #fff;
    padding: 12px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.read-more:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Video Note */
.video-note {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px;
}

.pagination-btn {
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(107, 99, 255, 0);
}

.pagination-btn:hover:not(.disabled) {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.pagination-btn.disabled {
    background: #000000;
    color: #ffffff;
    cursor: not-allowed;
    box-shadow: none;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #ff0000 0%, #770000 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }

    .search-box {
        max-width: 100%;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .card-prize {
        font-size: 20px;
    }

    .card-media {
        height: 180px;
    }
}