:root {
    --jedi-blue: #000034;
    --jedi-gold: #8e815c;
}

body {
    font-family: 'Gothic A1', sans-serif;
    color: #fff;
    min-height: 100vh;
    background: var(--jedi-blue);
}

.navbar {
    background: rgba(0, 0, 52, 0.9);
}

.card {
    position: relative;
    background: rgba(0, 0, 52, 0.85);
    border: 1px solid rgba(142, 129, 92, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    right: 25%;
    bottom: 25%;
    background: url('../assets/images/logo.png') center/contain no-repeat;
    opacity: 0.25;
    z-index: 0;
    display: none;
}

.card-body {
    position: relative;
    z-index: 1;
}

.card-title {
    color: var(--jedi-gold);
}

.card-text {
    color: #fff;
    opacity: 0.8;
}

.text-muted {
    color: #fff !important;
    opacity: 0.8;
}

.quiz-container {
    background: rgba(0, 0, 52, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
}

.quiz-container::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    right: 25%;
    bottom: 25%;
    background: url('../assets/images/logo.png') center/contain no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.quiz-container > * {
    position: relative;
    z-index: 1;
}

.quiz-container h3 {
    color: var(--jedi-gold);
}

.quiz-question h4 {
    color: var(--jedi-gold);
}

.quiz-option {
    color: #fff;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.quiz-option:hover {
    background: rgba(142, 129, 92, 0.1);
}

.form-check-input:checked + .quiz-option {
    background: rgba(142, 129, 92, 0.2);
}

.btn-success {
    background-color: var(--jedi-gold);
    border-color: var(--jedi-gold);
}

.btn-success:hover {
    background-color: #a08f6a;
    border-color: #a08f6a;
}

.alert {
    background: rgba(0, 0, 52, 0.5);
    border: 1px solid var(--jedi-gold);
    color: #fff;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    border-color: #28a745;
}

.audio-player {
    background: rgba(0, 0, 52, 0.3);
    border-radius: 15px;
    padding: 20px;
}

audio {
    width: 100%;
}

audio::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 52, 0.5);
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: #fff;
}

audio::-webkit-media-controls-timeline {
    background-color: rgba(142, 129, 92, 0.3);
}

audio::-webkit-media-controls-volume-slider {
    background-color: rgba(142, 129, 92, 0.3);
}

/* iOS Device Enhancements */
.ios-device {
    /* Prevent text selection on iOS */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ios-device input,
.ios-device textarea {
    /* Prevent zoom on input focus */
    font-size: 16px;
    /* Smooth scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}

.ios-device .form-control {
    /* iOS-specific form styling */
    -webkit-appearance: none;
    border-radius: 8px;
    padding: 12px 16px;
}

.ios-device .btn {
    /* iOS-specific button styling */
    -webkit-appearance: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    /* Prevent text selection on buttons */
    -webkit-user-select: none;
    user-select: none;
}

.ios-device .card {
    /* iOS-specific card styling */
    border-radius: 12px;
    /* Smooth shadows on iOS */
    -webkit-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .ios-device .form-control:focus {
        /* Prevent iOS Safari from adding its own styling */
        -webkit-appearance: none;
        appearance: none;
    }
    
    .ios-device .btn:active {
        /* iOS button active state */
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
    }
} 