/* style.css */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: #d4af37;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #111;
}

header h2 {
    margin: 0;
    font-size: 20px;
}

header a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

header a:hover {
    color: #fff;
}

.banner-slider {
    position: relative;
    max-width: 1000px;
    height: 150px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

.banner-slider img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s;
    border-radius: 10px;
}

.banner-slider img.active {
    opacity: 1;
    position: relative;
}

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

.referral {
    background: #111;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.referral code {
    display: block;
    font-weight: bold;
    margin-top: 5px;
    overflow-x: auto;
}

.referral button {
    margin-top: 5px;
    padding: 5px 10px;
    background: #d4af37;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 13px;
}

.referral button:hover {
    background: #c19e35;
}

.social-icons a {
    margin: 0 5px;
    color: #d4af37;
    font-size: 20px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #fff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.card {
    background: #111;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    min-height: 70px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card h3 {
    margin: 0 0 5px;
    font-size: 14px;
}

.card p {
    margin: 0;
    font-weight: bold;
    font-size: 16px;
}

footer {
    text-align: center;
    padding: 15px;
    background: #111;
    color: #d4af37;
}

.panel-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    z-index: 999;
}

.panel {
    background: #0b0b0b;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    text-align: left;
    border: 1px solid rgba(212, 175, 55, 0.12);
    position: relative;
}

.panel h3 {
    color: #d4af37;
    margin-bottom: 12px;
    text-align: center;
}

.panel .close {
    background: red;
    color: #fff;
    padding: 3px 8px;
    border-radius: 50%;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-weight: bold;
}

.field {
    margin-bottom: 10px;
}

.field input[type=text],
.field input[type=number],
.field input[type=file],
.field textarea {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #d4af37;
    background: #111;
    color: #fff;
}

.panel button {
    margin-top: 8px;
    padding: 10px 18px;
    background: #d4af37;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #d4af37;
}

.plan-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-item {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    background: #101010;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.plan-item .info {
    flex: 1;
}

.plan-item .info strong {
    color: #d4af37;
    display: block;
    margin-bottom: 6px;
}

.plan-item small {
    color: #ccc;
    display: block;
}

.plan-item input[type=radio] {
    transform: scale(1.1);
    margin-top: 6px;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    .banner-slider {
        height: 120px;
    }
    .banner-slider img {
        height: 120px;
    }
    .panel {
        width: 95%;
    }
}
