.ticket-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #1a1a1a;
    min-height: 100vh;
}

.ticket-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 20px;
}

.ticket-header h1 {
    color: #ffb400;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.ticket-header p {
    color: #ccc;
    font-size: 1.2em;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.event-card {
    background: linear-gradient(145deg, #333, #2a2a2a);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.event-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4CAF50;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.event-status.hot {
    background: #FF5722;
}

.event-info {
    padding: 25px;
}

.event-title {
    color: #ffb400;
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
}

.event-details {
    color: #ccc;
    margin-bottom: 15px;
}

.event-detail {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.event-icon {
    color: #ffb400;
    margin-right: 10px;
    width: 16px;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.price-info {
    color: #fff;
}

.price-from {
    font-size: 0.9em;
    color: #aaa;
}

.price-amount {
    font-size: 1.5em;
    color: #ffb400;
    font-weight: bold;
}

.buy-btn {
    background: linear-gradient(135deg, #ffb400, #ff8c00);
    color: #000;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,180,0,0.4);
}

.ticket-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #2a2a2a;
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    color: #ffb400;
    font-size: 1.5em;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.5em;
    cursor: pointer;
}

.seat-selection {
    margin-bottom: 20px;
}

.seat-map {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 5px;
    margin: 20px 0;
    padding: 20px;
    background: #333;
    border-radius: 10px;
}

.seat {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8em;
}

.seat.available {
    background: #4CAF50;
    color: white;
}

.seat.selected {
    background: #ffb400;
    color: #000;
}

.seat.occupied {
    background: #666;
    color: #999;
    cursor: not-allowed;
}

.seat-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
    font-size: 0.9em;
}

.legend-item {
    display: flex;
    align-items: center;
    color: #ccc;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 5px;
}

.payment-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.payment-method {
    padding: 15px;
    background: #333;
    border: 2px solid #444;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ccc;
}

.payment-method.selected {
    border-color: #ffb400;
    background: rgba(255,180,0,0.1);
    color: #ffb400;
}

.order-summary {
    background: #333;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #ccc;
}

.summary-total {
    font-weight: bold;
    font-size: 1.2em;
    color: #ffb400;
    border-top: 1px solid #444;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .seat-map {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
}