/* Nyereményjáték oldal CSS */

/* Header stílusok már a header.css-ben vannak definiálva */

.dropdown-menu li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu .dropdown-item {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f8f8;
}

.balance {
    font-weight: bold;
}

/* Dropdown content stílusok */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Cart stílusok */
@media only screen and (min-width: 991px) {
    #responsive-nav .cart-menu-item {
        display: none !important;
    }
}

/* Header cart visibility styles - már a header.css-ben vannak definiálva */

/* Warning container stílusok */
#warning-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin-top: 10px;
}

#warning-message {
    color: red;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid red;
    border-radius: 5px;
    background-color: #ffe6e6;
    text-align: center;
}

/* Nyereményjáték grid stílusok */
.giveaway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin: 0;
    padding: 20px 18px 18px 18px;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 370px;
    min-width: 0;
    height: auto;
    min-height: 380px;
    box-sizing: border-box;
}

.custom-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
    transform: translateY(-4px) scale(1.02);
}

.custom-card-left {
    width: 100%;
    position: relative;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.custom-card-img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    background: #f3f3f3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: height 0.2s, max-width 0.2s;
}

.custom-card-price {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #ff4444;
    color: #fff;
    padding: 4px 14px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1em;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.12);
}

.custom-card-top-right {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.custom-card-name {
    font-size: 1.1em;
    font-weight: 600;
    margin: 8px 0 10px 0;
    color: #222;
    text-align: center;
}

.custom-card-countdown {
    display: flex;
    justify-content: space-between;
    margin: 10px 0 18px 0;
    padding: 8px 0;
    background: #f8f9fa;
    border-radius: 8px;
    width: 100%;
    flex-wrap: wrap;
}

.countdown-unit {
    text-align: center;
    padding: 0 6px;
    min-width: 48px;
}

.countdown-number {
    font-size: 1.1em;
    font-weight: bold;
    color: #007bff;
}

.countdown-unit span {
    display: block;
    font-size: 0.8em;
    color: #666;
}

.custom-card-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: auto;
    font-size: 1em;
    text-align: center;
}

.custom-card-button.join {
    background: linear-gradient(45deg, #007bff, #00bfff);
    color: white;
}

.custom-card-button.leave {
    background: linear-gradient(45deg, #ff4444, #ff6b6b);
    color: white;
}

.custom-card-button:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.13);
}

/* Winner announcement stílusok */
.winner-announcement {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: winnerGlow 2s ease-in-out infinite alternate;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row;
    width: 100%;
}

.winner-content {
    text-align: center;
    width: 100%;
}

.winner-announcement i {
    color: #ff6b35;
    margin-right: 8px;
}

.winner-announcement strong {
    font-weight: bold;
}

.expired-message {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
}

@keyframes winnerGlow {
    from {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }
    to {
        box-shadow: 0 4px 25px rgba(255, 215, 0, 0.6);
    }
}

/* Rainbow text stílusok */
.rainbow-text a {
    background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet, red);
    background-size: 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow-animation 10s linear infinite;
}

@keyframes rainbow-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Footer stílusok */
.footer-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-payments li {
    margin: 0 10px;
}

.footer-payments li a img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    display: block;
}

/* Responsive grid és elemek */
@media (max-width: 1200px) {
    .giveaway-grid {
        max-width: 900px;
    }
    .custom-card {
        max-width: 1fr;
    }
}

@media (max-width: 900px) {
    .giveaway-grid {
        max-width: 100%;
        gap: 18px;
    }
    .custom-card {
        max-width: 100%;
        min-height: 340px;
    }
    .custom-card-img {
        max-width: 140px;
        height: 140px;
    }
}

@media (max-width: 600px) {
    .giveaway-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .custom-card {
        max-width: 100%;
        min-width: 0;
        min-height: 280px;
        padding: 14px 8px 12px 8px;
    }
    .custom-card-img {
        max-width: 100%;
        height: 100px;
    }
    .custom-card-name {
        font-size: 1em;
    }
    .custom-card-button {
        font-size: 0.95em;
        padding: 10px;
    }
}

/* Body és section stílusok */
body {
    background: #f7f8fa;
}

.section {
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Kategória menü CSS már a category_menu.css-ben van definiálva */
