/* MapleDraw Info - Liquid Gradient Festival Styles */

/* Color Variables and Gradients */
:root {
    --color-dark-blue: #0f1729;
    --color-deep-violet: #1a0f2e;
    --color-fuchsia: #e91e8c;
    --color-violet: #8b5cf6;
    --color-cyan: #06b6d4;
    --color-white: #ffffff;
    --color-light-gray: #d1d5db;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
}

/* Background Gradient */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-deep-violet) 40%, #2d1b4e 70%, var(--color-dark-blue) 100%);
    position: relative;
    min-height: 100vh;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--color-fuchsia) 0%, var(--color-violet) 50%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Accent Line */
.bg-gradient-accent {
    background: linear-gradient(90deg, var(--color-violet) 0%, var(--color-fuchsia) 100%);
}

/* Floating Gradient Blobs */
.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-cyan) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-fuchsia) 0%, transparent 70%);
    bottom: -15%;
    right: -5%;
    animation-delay: 7s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-violet) 0%, transparent 70%);
    top: 40%;
    right: 10%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(25px, 15px) scale(1.05);
    }
}

/* Glass Panel Effect */
.glass-panel {
    background: rgba(15, 23, 41, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel-inner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Shadow Glow Effect */
.shadow-glow {
    box-shadow: 0 20px 60px rgba(233, 30, 140, 0.2),
                0 10px 30px rgba(139, 92, 246, 0.15);
}

/* Corner Lines Decoration */
.corner-lines::before,
.corner-lines::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.corner-lines::before {
    top: 100px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.corner-lines::after {
    bottom: 100px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* Button Styles */
.btn-primary {
    background: var(--color-white);
    color: #1a1a1a;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--color-violet);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.1);
}

.btn-primary-dark {
    background: linear-gradient(135deg, var(--color-violet) 0%, var(--color-fuchsia) 100%);
    color: var(--color-white);
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-dark:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

/* Notification Styles */
.notification {
    background: rgba(15, 23, 41, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease;
}

.notification.success {
    border-left: 4px solid #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification.info {
    border-left: 4px solid var(--color-cyan);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.notification.removing {
    animation: slideOutRight 0.3s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .corner-lines::before,
    .corner-lines::after {
        display: none;
    }
    
    .gradient-blob {
        filter: blur(80px);
    }
}

/* Number Selection Grid Styles (for tickets page) */
.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 8px;
}

.number-btn {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.number-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: var(--color-violet);
    transform: scale(1.05);
}

.number-btn.selected {
    background: linear-gradient(135deg, var(--color-violet) 0%, var(--color-fuchsia) 100%);
    border-color: var(--color-fuchsia);
    box-shadow: 0 0 20px rgba(233, 30, 140, 0.5);
}

.number-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Cart Styles */
.cart-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.cart-badge {
    background: var(--color-fuchsia);
    color: var(--color-white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -8px;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid var(--color-fuchsia);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Input Styles */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea {
    transition: all 0.3s ease;
}

select {
    color: var(--color-white);
    background: rgba(15, 23, 41, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

select option {
    color: var(--color-white);
    background: var(--color-dark-blue);
}

select:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    border-color: var(--color-violet);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--color-fuchsia);
    color: var(--color-white);
}

::-moz-selection {
    background: var(--color-fuchsia);
    color: var(--color-white);
}

.age-badge{
  background: #d10000;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
  letter-spacing: 0.5px;
}
.age-strip{
  width: 100%;
  background: linear-gradient(90deg, #b80000, #ff2a2a);
  color: #ffffff;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 10px;
}

.resource-logos {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1.75rem;
    box-shadow: 0 30px 60px rgba(15, 23, 41, 0.45);
}

.resource-link {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: 0.6rem 1.1rem;
    border: 1px solid transparent;
    color: var(--color-white);
    transition: all 0.3s ease;
    min-width: 220px;
    justify-content: center;
}

.resource-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.resource-link img {
    height: 48px;
    width: auto;
    display: block;
    filter: brightness(1.2) saturate(1.15);
}

@media (max-width: 768px) {
    .resource-logos {
        padding: 1rem;
        box-shadow: none;
    }

    .resource-link {
        min-width: unset;
        width: 100%;
    }
}
