.bilet-header {
    background: linear-gradient(135deg, #a927da 0%, #8b5cf6 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(169, 39, 218, 0.2);
}

.bilet-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bilet-title i {
    font-size: 2.5rem;
}

.bilet-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.bilet-alert {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: #93c5fd;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bilet-alert i {
    font-size: 1.5rem;
}

.bilet-alert a {
    color: #60a5fa;
    font-weight: 600;
}

.bilet-section {
    background: #181929;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.bilet-tabs {
    border-bottom: 2px solid rgba(169, 39, 218, 0.2);
}

.bilet-tabs .nav-link {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.bilet-tabs .nav-link:hover {
    color: #a927da;
    background: rgba(169, 39, 218, 0.1);
}

.bilet-tabs .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #a927da 0%, #8b5cf6 100%);
}

.bilet-tabs .badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.bilet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.bilet-card {
    background: #1e1f30;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(169, 39, 218, 0.2);
    display: flex;
    flex-direction: column;
}

.bilet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(169, 39, 218, 0.3);
    border-color: #a927da;
}

.bilet-card-tamamlandi {
    opacity: 0.85;
}

.bilet-card-tamamlandi:hover {
    opacity: 1;
}

.bilet-card-header {
    padding: 0;
    background: transparent;
    border-bottom: none;
    position: relative;
}

.bilet-card-logo {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, rgba(169, 39, 218, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(169, 39, 218, 0.2);
    padding: 0 1rem;
}

.bilet-card-logo img {
    width: 100%;
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.bilet-card-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(169, 39, 218, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-bottom: 1px solid rgba(169, 39, 218, 0.1);
}

.bilet-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    flex-grow: 1;
}

.bilet-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.bilet-badge i {
    font-size: 0.7rem;
}

.bilet-badge-active {
    background: rgba(169, 39, 218, 0.2);
    color: #a927da;
}

.bilet-badge-tamamlandi {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.bilet-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.bilet-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.bilet-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(169, 39, 218, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(169, 39, 218, 0.1);
}

.bilet-info-item i {
    font-size: 1.25rem;
    color: #a927da;
    margin-top: 0.125rem;
}

.bilet-info-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bilet-info-label {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.bilet-info-value {
    font-size: 0.75rem;
    color: #fff;
    font-weight: 700;
}

.bilet-katilim-durum,
.bilet-kazanma-durum {
    margin-top: 1rem;
}

.bilet-katilim-durum .alert,
.bilet-kazanma-durum .alert {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.bilet-card-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(169, 39, 218, 0.2);
}

.btn-bilet {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-bilet-katil {
    background: linear-gradient(135deg, #a927da 0%, #8b5cf6 100%);
    color: #fff;
}

.btn-bilet-katil:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(169, 39, 218, 0.4);
}

.btn-bilet-detay {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-bilet-detay:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: #60a5fa;
}

.btn-bilet-kazananlar {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-bilet-kazananlar:hover {
    background: rgba(245, 158, 11, 0.3);
    border-color: #fbbf24;
}

.btn-bilet-giris {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-bilet-giris:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: #a78bfa;
}

.modal-content {
    background: #181929;
    color: #fff;
    border-radius: 16px;
    border: 1px solid rgba(169, 39, 218, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #a927da 0%, #8b5cf6 100%);
    border-bottom: 1px solid rgba(169, 39, 218, 0.2);
    border-radius: 16px 16px 0 0;
}

.modal-title {
    color: #fff;
    font-weight: 700;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid rgba(169, 39, 218, 0.2);
}

.bilet-seo-content {
    background: #181929;
    border-radius: 16px;
    padding: 2rem;
    color: #bfc9d9;
    line-height: 1.8;
}

.bilet-seo-content h2 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid #a927da;
    padding-bottom: 0.5rem;
}

.bilet-seo-content h3 {
    color: #a927da;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.bilet-seo-content ul {
    padding-left: 1.5rem;
}

.bilet-seo-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .bilet-grid {
        grid-template-columns: 1fr;
    }

    .bilet-title {
        font-size: 1.5rem;
    }

    .bilet-title i {
        font-size: 2rem;
    }

    .bilet-info-grid {
        grid-template-columns: 1fr;
    }

    .bilet-header {
        padding: 1.5rem;
    }

    .bilet-section {
        padding: 1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bilet-card {
    animation: fadeInUp 0.5s ease-out;
}

.bilet-card:nth-child(1) { animation-delay: 0.1s; }
.bilet-card:nth-child(2) { animation-delay: 0.2s; }
.bilet-card:nth-child(3) { animation-delay: 0.3s; }
.bilet-card:nth-child(4) { animation-delay: 0.4s; }
.bilet-card:nth-child(5) { animation-delay: 0.5s; }
.bilet-card:nth-child(6) { animation-delay: 0.6s; }

.info-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(169, 39, 218, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(169, 39, 218, 0.2);
}

.info-box i {
    font-size: 1.5rem;
    color: #a927da;
}

.info-box .info-label {
    font-size: 0.75rem;
    color: #9ca3af;
    display: block;
}

.info-box .info-value {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
    display: block;
}

.kurallar-box {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.kurallar-box h6 {
    color: #a927da;
    font-weight: 700;
}

.kurallar-icerik {
    color: #bfc9d9;
    line-height: 1.8;
    max-height: 300px;
    overflow-y: auto;
}

.form-section {
    background: rgba(169, 39, 218, 0.05);
    border: 1px solid rgba(169, 39, 218, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.form-section h6 {
    color: #a927da;
    font-weight: 700;
}

.form-control {
    background: #252b3d;
    border: 1px solid rgba(169, 39, 218, 0.3);
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem;
}

.form-control:focus {
    background: #252b3d;
    border-color: #a927da;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(169, 39, 218, 0.25);
}

.form-label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-check-input {
    background-color: #252b3d;
    border-color: rgba(169, 39, 218, 0.3);
}

.form-check-input:checked {
    background-color: #a927da;
    border-color: #a927da;
}

.form-check-label {
    color: #fff;
}

.kazananlar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kazanan-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(169, 39, 218, 0.1);
    border: 1px solid rgba(169, 39, 218, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out;
}

.kazanan-card:hover {
    background: rgba(169, 39, 218, 0.15);
    border-color: #a927da;
}

.kazanan-card-winner {
    background: linear-gradient(135deg, rgba(169, 39, 218, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 2px solid #a927da;
    box-shadow: 0 4px 16px rgba(169, 39, 218, 0.3);
}

.kazanan-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 60px;
}

.kazanan-rank i {
    font-size: 1.5rem;
    color: #fbbf24;
}

.kazanan-rank span {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 600;
}

.kazanan-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
}

.kazanan-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a927da 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kazanan-avatar i {
    font-size: 1.5rem;
    color: #fff;
}

.kazanan-details {
    flex-grow: 1;
}

.kazanan-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.kazanan-odul {
    font-size: 0.875rem;
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 0;
}

.bilet-katilim-durum .alert-success,
.bilet-kazanma-durum .alert-success {
    background: linear-gradient(135deg, rgba(169, 39, 218, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%) !important;
    border: 1px solid rgba(169, 39, 218, 0.3) !important;
    border-color: rgba(169, 39, 218, 0.3) !important;
    color: #fff !important;
}

.bilet-katilim-durum .alert-success i,
.bilet-kazanma-durum .alert-success i {
    color: #a927da !important;
}

.bilet-katilim-durum .alert-success strong,
.bilet-kazanma-durum .alert-success strong {
    color: #fff !important;
}

.bilet-card-modern {
    background: radial-gradient(120% 150% at 12% 0%, rgba(169, 39, 218, 0.24) 0%, rgba(24, 25, 41, 0.95) 46%, #181929 100%);
    border: 1px solid rgba(169, 39, 218, 0.28);
    box-shadow: 0 14px 36px rgba(8, 10, 18, 0.45);
}

.bilet-card-modern .bilet-card-header {
    padding: 1rem 1rem 0.5rem;
}

.bilet-card-modern .bilet-card-logo {
    width: fit-content;
    height: 56px;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(169, 39, 218, 0.3);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.bilet-card-modern .bilet-card-title-wrapper {
    padding: 0;
    border: 0;
    background: transparent;
    align-items: flex-start;
}

.bilet-card-modern .bilet-card-title {
    font-size: 0.95rem;
    color: #d4d8e8;
    letter-spacing: 0.2px;
}

.bilet-card-modern .bilet-badge-active {
    background: rgba(52, 211, 153, 0.16);
    color: #34d399;
}

.bilet-modern-main {
    margin-top: 0.25rem;
}

.bilet-modern-label {
    display: block;
    color: #b5c0d6;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.bilet-modern-amount {
    font-size: clamp(2rem, 3.5vw, 2.25rem);
    line-height: 1.05;
    color: #2ed176;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 0.85rem;
}

.bilet-modern-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.bilet-modern-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #44da95;
}

.bilet-modern-meta .bilet-modern-point {
    color: #b58dff;
}

.bilet-modern-meta-divider {
    width: 1px;
    height: 16px;
    background: rgba(194, 206, 232, 0.3);
}

.bilet-modern-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #d3d9ea;
    font-size: 1rem;
    margin-bottom: 0.55rem;
}

.bilet-modern-time-row strong {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #f2f5ff;
    font-weight: 700;
    font-size: 1rem;
}

.bilet-modern-track {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    background: rgba(206, 216, 236, 0.16);
    overflow: hidden;
    margin-bottom: 1rem;
}

.bilet-modern-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #29d39c 0%, #7b7fff 100%);
    border-radius: inherit;
}

.bilet-modern-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.bilet-modern-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    color: #b7c2d7;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(172, 184, 208, 0.2);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
}

.bilet-card-modern .bilet-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(170, 182, 207, 0.2);
}

.bilet-modern-audience {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #c4cee2;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(193, 205, 231, 0.18);
    border-radius: 999px;
    padding: 0.38rem 0.75rem;
    font-size: 0.86rem;
}

.bilet-card-modern .btn-bilet {
    width: auto;
    min-width: 130px;
    margin-left: auto;
    border-radius: 12px;
    padding: 0.62rem 1rem;
    font-size: 0.95rem;
}

.bilet-card-modern .btn-bilet-katil {
    background: linear-gradient(135deg, #7f39f6 0%, #4ea2ff 100%);
    color: #ffffff;
}

.bilet-card-modern .btn-bilet-katil:hover {
    box-shadow: 0 8px 22px rgba(106, 93, 255, 0.36);
}

.bilet-card-modern .btn-bilet-giris,
.bilet-card-modern .btn-bilet-detay {
    background: rgba(109, 126, 163, 0.22);
    color: #d9e3f8;
    border: 1px solid rgba(178, 191, 216, 0.34);
}

@media (max-width: 768px) {
    .bilet-card-modern .bilet-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .bilet-card-modern .btn-bilet {
        width: 100%;
        margin-left: 0;
    }

    .bilet-modern-audience {
        width: fit-content;
    }
}

.bilet-katilim-durum .alert-success p,
.bilet-kazanma-durum .alert-success p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.kazanan-you-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #a927da 0%, #8b5cf6 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}
