* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #e91e8c;
    --primary-purple: #8b3dff;
    --dark-text: #1a1a1a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--dark-text);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: -1;
}

.screen {
    display: none;
    min-height: 100vh;
    padding: 40px 20px;
}

.screen.active {
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo Styles */
.logo {
    display: block;
    margin: 0 auto 30px;
    max-width: 400px;
    width: 100%;
    height: auto;
}

.logo-small {
    max-width: 200px;
    height: auto;
}

/* Header */
.header {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-radius: 10px;
}

.mentor-info {
    font-size: 18px;
    color: var(--dark-text);
}

/* Typography */
h1 {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Welcome Screen */
.intro-text {
    text-align: center;
    font-size: 20px;
    margin-bottom: 40px;
    color: #555;
}

.instructions {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.instructions ul {
    list-style: none;
    padding-left: 0;
}

.instructions li {
    padding: 12px 0;
    font-size: 18px;
    line-height: 1.6;
    position: relative;
    padding-left: 35px;
}

.instructions li::before {
    content: '→';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--primary-purple);
    font-size: 24px;
}

.mentor-input-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.mentor-input-section label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.mentor-input-section input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.mentor-input-section input:focus {
    outline: none;
    border-color: var(--primary-purple);
}

/* Buttons */
.btn {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 61, 255, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
}

/* Selection Status */
.selection-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.selection-slot {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.selection-slot.filled {
    border-color: var(--primary-purple);
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-pink), var(--primary-purple)) border-box;
}

.priority-label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 10px;
}

.selected-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    min-height: 25px;
}

.selection-slot.filled .selected-name {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clear-slot-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.clear-slot-btn:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.clear-slot-btn:active {
    transform: scale(0.95);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 35px;
    padding: 20px 0;
}

.outperformer-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.outperformer-card:hover {
    transform: translateY(-5px);
}

.outperformer-card.selected {
    opacity: 0.5;
    pointer-events: none;
}

.outperformer-card.sold-out {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.outperformer-card.sold-out .outperformer-image {
    filter: grayscale(50%);
}

.sold-out-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    font-weight: 900;
    font-size: 18px;
    padding: 8px 20px;
    border-radius: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
    z-index: 10;
    border: 3px solid white;
}

.hexagon-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outperformer-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
}

.outperformer-info {
    margin-top: 15px;
}

.outperformer-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 5px;
}

.outperformer-role {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
    font-style: italic;
}

.priority-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(139, 61, 255, 0.4);
}

/* Confirmation Screen */
.success-message {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-message h1 {
    color: #2ecc71;
    margin-bottom: 20px;
}

.confirmation-text {
    font-size: 20px;
    line-height: 1.8;
    margin: 30px 0;
    color: #555;
}

.final-selections {
    margin-top: 40px;
    text-align: left;
}

.final-selection-list {
    margin-top: 20px;
}

.final-item {
    padding: 15px;
    background: var(--light-gray);
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.final-item .priority-badge {
    position: static;
    width: 40px;
    height: 40px;
    font-size: 16px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    .logo {
        max-width: 250px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 25px;
    }

    .hexagon-wrapper {
        width: 120px;
        height: 120px;
    }

    .outperformer-image {
        width: 120px;
        height: 120px;
    }

    .outperformer-name {
        font-size: 14px;
    }

    .outperformer-role {
        font-size: 12px;
    }

    .selection-status {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .instructions,
    .mentor-input-section,
    .success-message {
        padding: 20px;
    }
}
