/*
 * HALLOWEEN THEME
 * Fonts: 'Creepster' for headers, 'Special Elite' for body
 * Palette:
 * - Dark Background: #1a1a1a
 * - Darker Element BG: #2b2b2b
 * - Primary Orange: #ff6600
 * - Accent Purple: #6a0dad
 * - Text: #e0e0e0 (off-white)
 * - Success Green: #7fff00 (slime green)
*/

body {
    font-family: 'Special Elite', monospace; /* Creepy typewriter font */
    background-color: #1a1a1a; /* Dark, spooky background */
    color: #e0e0e0; /* Off-white text for readability */
    margin: 0;
    line-height: 1.6;
}

header {
    background-color: #ff6600; /* Pumpkin orange */
    color: #000000; /* Black text for high contrast */
    padding: 1.5rem 2rem;
    text-align: center;
    font-family: 'Creepster', cursive; /* Drippy horror font */
    border-bottom: 3px solid #000000; /* Solid black border */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header h1 {
    margin: 0;
    font-size: 3rem; /* Larger for more impact */
}

nav a {
    color: #000000;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2rem;
    transition: color 0.3s;
    font-family: 'Special Elite', monospace;
}

nav a:hover {
    color: #6a0dad; /* Spooky purple on hover */
}

#cart-count {
    background-color: #6a0dad; /* Purple accent */
    color: #ffffff; /* White text for contrast */
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid #000;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 70vh;
}

.ticket-card, .checkout-container {
    background: #2b2b2b; /* Dark card background */
    border: 1px solid #ff6600; /* Orange border */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.5); /* Glowing orange effect */
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}

.ticket-header {
    background-color: #000000; /* Pitch black */
    color: #ff6600; /* Orange text */
    padding: 20px;
    text-align: center;
}

.ticket-header h2 {
    margin: 0;
    font-family: 'Creepster', cursive; /* Spooky header font */
}

.platform {
    font-size: 1.2rem;
    font-style: italic;
    color: #ccc;
}

.ticket-body {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details p, .price p {
    margin: 5px 0;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6600; /* Bright orange for the price */
}

.ticket-footer {
    background-color: #222; /* Slightly different dark shade */
    padding: 20px;
    text-align: center;
    border-top: 2px dashed #ff6600; /* Dashed orange line like stitches */
}

#add-to-cart, #apply-coupon, .pay-button {
    background-color: #ff6600; /* Pumpkin orange */
    color: #000000; /* Black text */
    border: 2px solid #000;
    padding: 12px 25px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    font-family: 'Creepster', cursive;
    font-weight: bold;
}

#add-to-cart:hover, #apply-coupon:hover, .pay-button:hover {
    background-color: #6a0dad; /* Purple on hover */
    color: #ffffff;
    border-color: #fff;
}

/* Cart Page */
.checkout-container {
    padding: 30px;
}

.checkout-container h2 {
    text-align: center;
    font-family: 'Creepster', cursive;
    margin-bottom: 25px;
    color: #ff6600;
}

#order-summary {
    margin-bottom: 20px;
    border-bottom: 1px solid #ff6600;
    padding-bottom: 20px;
}

.coupon-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#coupon-code {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #666;
    border-radius: 5px;
    background-color: #333;
    color: #e0e0e0;
    font-family: 'Special Elite', monospace;
}

#coupon-message {
    font-size: 0.9rem;
    margin-top: 10px;
}

.success {
    color: #7fff00; /* Slime green */
}

.error {
    color: #dc3545; /* Red is universal for error */
}

.total-section {
    text-align: right;
    font-size: 1.4rem;
    font-weight: bold;
    color: #ff6600; /* Orange total price */
}

.pay-button {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    font-size: 1.4rem;
}