/* ===================================
   EVENT DETAIL PAGE - Crystalline Dark Theme
   =================================== */

/* Hero Badge */
.hero-badge {
    --poly-roundness: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0 var(--spacing-md);
    height: 32px;
    background: rgba(38, 38, 38, 0.5);
    border: 1px solid var(--border-medium);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    backdrop-filter: blur(8px);
    margin-bottom: var(--spacing-lg);
    clip-path: polygon(
        var(--poly-roundness) 0,
        calc(100% - var(--poly-roundness)) 0,
        100% var(--poly-roundness),
        100% calc(100% - var(--poly-roundness)),
        calc(100% - var(--poly-roundness)) 100%,
        var(--poly-roundness) 100%,
        0 calc(100% - var(--poly-roundness)),
        0 var(--poly-roundness)
    );
    position: relative;
}

.hero-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 199, 0, 0.5);
    margin-right: var(--spacing-xs);
}

/* ===================================
   EVENT HERO - Dark Theme
   =================================== */

.event-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    background: transparent;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: var(--spacing-2xl);
}

.event-hero-overlay {
    display: none;
}

.event-hero-content {
    position: relative;
    z-index: 10;
    color: var(--text-primary);
    width: 100%;
}

.event-hero-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.event-hero-title strong {
    font-weight: 800;
}

.event-hero-meta {
    display: flex;
    gap: var(--spacing-xl);
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.event-hero-meta span::before {
    content: '◇';
    margin-right: var(--spacing-sm);
    color: var(--primary-color);
}

.event-hero-meta span:first-child::before {
    content: '';
    margin: 0;
}

/* ===================================
   EVENT DETAILS SECTION - Dark Theme
   =================================== */

.event-details-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.event-details-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 40% 30% at 20% 30%, rgba(255, 199, 0, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(245, 158, 11, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.event-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.event-main-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Crystalline Card Styles */
.event-description-card,
.event-highlights-card,
.event-schedule-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-card);
    position: relative;
}

.event-description-card::before,
.event-highlights-card::before,
.event-schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.event-description-card h2,
.event-highlights-card h2,
.event-schedule-card h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.event-description-card h2 strong,
.event-highlights-card h2 strong,
.event-schedule-card h2 strong {
    font-weight: 700;
}

.event-description-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

/* Highlights List - Crystalline */
.highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.highlights-list li {
    padding-left: var(--spacing-2xl);
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.highlights-list li::before {
    content: '◇';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Schedule Timeline - Crystalline */
.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.schedule-item {
    display: flex;
    gap: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 1px solid var(--primary-color);
    position: relative;
}

.schedule-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 9px;
    height: 9px;
    background: var(--primary-color);
    border-radius: 2px;
    transform: rotate(45deg);
}

.schedule-time {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
    flex-shrink: 0;
    font-size: 0.8125rem;
}

.schedule-content h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.schedule-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ===================================
   SIDEBAR - Crystalline
   =================================== */

.event-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.event-info-card {
    --poly-roundness: 16px;
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-primary);
    position: relative;
    clip-path: polygon(
        var(--poly-roundness) 0,
        calc(100% - var(--poly-roundness)) 0,
        100% 0,
        100% calc(100% - var(--poly-roundness)),
        calc(100% - var(--poly-roundness)) 100%,
        0 100%,
        0 calc(100% - var(--poly-roundness)),
        0 var(--poly-roundness)
    );
    box-shadow: inset 0 0 40px 0 rgba(255, 199, 0, 0.05);
}

.event-info-card::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transform: rotate(-45deg);
    transform-origin: top left;
}

.event-info-card::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transform: rotate(-45deg);
    transform-origin: bottom right;
}

.event-info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-medium);
}

.info-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-color);
}

.info-item strong {
    display: block;
    font-family: var(--font-mono);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

/* ===================================
   REGISTRATION SECTION - Crystalline
   =================================== */

.registration-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-medium);
}

.registration-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.registration-header h2 {
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.registration-header h2 strong {
    font-weight: 700;
}

.registration-header p {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-muted);
}

/* Form Container - Crystalline */
.registration-form-container {
    max-width: 750px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: 16px;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-card);
    position: relative;
}

.registration-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Crystalline Input Fields */
.form-group input,
.form-group textarea {
    padding: var(--spacing-md);
    border: 1px solid var(--border-medium);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-base);
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.1), var(--shadow-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox Styling - Crystalline */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 400;
}

/* Crystalline Register Button */
.btn-register {
    --poly-roundness: 12px;
    position: relative;
    padding: var(--spacing-md) var(--spacing-xl);
    height: 56px;
    background: var(--bg-primary);
    border: 1px solid var(--primary-color);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    clip-path: polygon(
        var(--poly-roundness) 0,
        calc(100% - var(--poly-roundness)) 0,
        100% 0,
        100% calc(100% - var(--poly-roundness)),
        calc(100% - var(--poly-roundness)) 100%,
        0 100%,
        0 calc(100% - var(--poly-roundness)),
        0 var(--poly-roundness)
    );
    box-shadow: inset 0 0 30px 0 rgba(235, 184, 0, 0.1);
}

.btn-register::before,
.btn-register::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
}

.btn-register::before {
    top: 4px;
    left: 4px;
    transform: rotate(-45deg);
    transform-origin: top left;
}

.btn-register::after {
    bottom: 4px;
    right: 4px;
    transform: rotate(-45deg);
    transform-origin: bottom right;
}

.btn-register:hover {
    box-shadow: 
        inset 0 0 30px 0 rgba(235, 184, 0, 0.2),
        0 0 30px rgba(255, 199, 0, 0.3);
    transform: translateY(-2px);
}

.btn-register:active {
    transform: translateY(0);
}

.btn-register:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===================================
   FLOATING REGISTER BUTTON - Crystalline
   =================================== */

.floating-register-btn {
    --poly-roundness: 12px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--bg-card);
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    cursor: pointer;
    z-index: 999;
    transition: all var(--transition-base);
    clip-path: polygon(
        var(--poly-roundness) 0,
        calc(100% - var(--poly-roundness)) 0,
        100% var(--poly-roundness),
        100% calc(100% - var(--poly-roundness)),
        calc(100% - var(--poly-roundness)) 100%,
        var(--poly-roundness) 100%,
        0 calc(100% - var(--poly-roundness)),
        0 var(--poly-roundness)
    );
}

.floating-register-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255, 199, 0, 0.5);
}

.floating-register-btn svg {
    color: var(--primary-color);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .event-details-grid {
        grid-template-columns: 1fr;
    }
    
    .event-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .event-hero {
        min-height: 40vh;
        padding-top: 100px;
    }
    
    .event-hero-title {
        font-size: 2rem;
    }
    
    .event-hero-meta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .registration-header h2 {
        font-size: 1.75rem;
    }
    
    .registration-form-container {
        padding: var(--spacing-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .schedule-item {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .schedule-time {
        min-width: auto;
    }
    
    .floating-register-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .event-hero-title {
        font-size: 1.75rem;
    }
    
    .event-description-card,
    .event-highlights-card,
    .event-schedule-card,
    .event-info-card {
        padding: var(--spacing-md);
    }
    
    .registration-form-container {
        padding: var(--spacing-md);
    }
    
    .btn-register {
        height: 48px;
        font-size: 0.8125rem;
    }
}
