/* ============================================
   SKILLIONS PRO EVENT POSTER - MOBILE OPTIMIZED
   Mobile-First Design with Better Performance
   ============================================ */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ===== SIMPLIFIED BACKGROUND FOR MOBILE ===== */
.sep-wrapper {
    min-height: 100vh;
    padding: 20px;
    position: relative;
    /* Solid gradient - mobile friendly */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Animated gradient - only for larger screens */
@media (min-width: 769px) {
    .sep-wrapper {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
        background-size: 400% 400%;
        animation: gradientShift 15s ease infinite;
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Subtle overlay - works on all devices */
.sep-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(191, 255, 10, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ===== HEADER SECTION ===== */
.sep-header {
    text-align: center;
    padding: 40px 20px 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.sep-main-title {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 769px) {
    .sep-main-title {
        font-size: 3.5rem;
        letter-spacing: 3px;
        animation: titleGlow 3s ease-in-out infinite alternate;
    }
}

@keyframes titleGlow {
    from { text-shadow: 0 0 20px rgba(191, 255, 10, 0.5), 0 5px 15px rgba(0, 0, 0, 0.3); }
    to { text-shadow: 0 0 30px rgba(191, 255, 10, 0.8), 0 5px 20px rgba(0, 0, 0, 0.4); }
}

.sep-event-description {
    max-width: 800px;
    margin: 15px auto;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .sep-event-description {
        font-size: 1.2rem;
        line-height: 1.9;
    }
}

.sep-subtitle {
    font-size: 1.1rem;
    color: #BFFF0A;
    font-weight: 700;
    margin-top: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

@media (min-width: 769px) {
    .sep-subtitle {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
}

/* ===== CONTAINER ===== */
.sep-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== MAIN CONTENT GRID ===== */
.sep-main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

@media (min-width: 1025px) {
    .sep-main-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* ===== SIMPLIFIED PANELS FOR MOBILE ===== */
.sep-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #333;
}

/* Glassmorphism - only for larger screens */
@media (min-width: 769px) {
    .sep-panel {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 30px;
        padding: 40px;
        color: #fff;
    }
    
    .sep-panel:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 48px rgba(31, 38, 135, 0.5);
        border-color: rgba(191, 255, 10, 0.4);
    }
}

.sep-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 12px;
}

@media (min-width: 769px) {
    .sep-panel h2 {
        font-size: 2rem;
        color: #BFFF0A;
        margin-bottom: 30px;
        letter-spacing: 2px;
        padding-bottom: 15px;
    }
}

.sep-panel h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #BFFF0A;
    border-radius: 2px;
}

@media (min-width: 769px) {
    .sep-panel h2::after {
        width: 80px;
        height: 4px;
    }
}

/* ===== FORM STYLES ===== */
.sep-form-group {
    margin-bottom: 22px;
}

@media (min-width: 769px) {
    .sep-form-group {
        margin-bottom: 28px;
    }
}

.sep-form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (min-width: 769px) {
    .sep-form-group label {
        color: #fff;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
}

.sep-form-group input[type="text"],
.sep-form-group input[type="file"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
    font-weight: 500;
}

@media (min-width: 769px) {
    .sep-form-group input[type="text"],
    .sep-form-group input[type="file"] {
        padding: 16px 20px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        color: #fff;
    }
}

.sep-form-group input[type="text"]::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

@media (min-width: 769px) {
    .sep-form-group input[type="text"]::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }
}

.sep-form-group input[type="text"]:focus {
    outline: none;
    border-color: #BFFF0A;
    box-shadow: 0 0 0 3px rgba(191, 255, 10, 0.1);
}

@media (min-width: 769px) {
    .sep-form-group input[type="text"]:focus {
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 0 4px rgba(191, 255, 10, 0.1), 0 8px 16px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
    }
}

.sep-form-group input[type="file"] {
    cursor: pointer;
    padding: 12px 16px;
}

.sep-form-group input[type="file"]::file-selector-button {
    padding: 8px 16px;
    border: none;
    background: #BFFF0A;
    color: #000;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    margin-right: 12px;
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .sep-form-group input[type="file"]::file-selector-button {
        padding: 10px 20px;
        border-radius: 10px;
        margin-right: 15px;
    }
}

.sep-form-group input[type="file"]::file-selector-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(191, 255, 10, 0.3);
}

.sep-form-group small {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

@media (min-width: 769px) {
    .sep-form-group small {
        color: rgba(255, 255, 255, 0.7);
        margin-top: 8px;
        font-size: 0.9rem;
    }
}

/* ===== TEMPLATE GRID ===== */
.sep-template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

@media (min-width: 480px) {
    .sep-template-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 15px;
    }
}

@media (min-width: 769px) {
    .sep-template-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }
}

.sep-template-option {
    position: relative;
}

.sep-template-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sep-template-option label {
    display: block;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f5f5f5;
}

@media (min-width: 769px) {
    .sep-template-option label {
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }
}

.sep-template-option label:active {
    transform: scale(0.95);
}

@media (min-width: 769px) {
    .sep-template-option label:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
}

.sep-template-option input[type="radio"]:checked + label {
    border-color: #BFFF0A;
    box-shadow: 0 0 0 3px rgba(191, 255, 10, 0.2);
    transform: scale(1.05);
}

@media (min-width: 769px) {
    .sep-template-option input[type="radio"]:checked + label {
        box-shadow: 0 0 0 5px rgba(191, 255, 10, 0.2), 0 10px 30px rgba(0, 0, 0, 0.4);
        transform: scale(1.08);
    }
}

.sep-template-option img {
    width: 100%;
    height: auto;
    display: block;
}

.sep-template-option span {
    display: block;
    text-align: center;
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #BFFF0A;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 769px) {
    .sep-template-option span {
        padding: 12px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

.sep-template-option input[type="radio"]:checked + label span {
    background: #BFFF0A;
    color: #000;
}

/* ===== PREVIEW AREA ===== */
.sep-preview-area {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
    .sep-preview-area {
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        border-radius: 25px;
        padding: 30px;
        min-height: 500px;
        margin-bottom: 25px;
        border: 2px solid rgba(255, 255, 255, 0.1);
        box-shadow: inset 0 4px 30px rgba(0, 0, 0, 0.3);
    }
}

#sep-canvas {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: none;
    animation: fadeInScale 0.5s ease;
}

@media (min-width: 769px) {
    #sep-canvas {
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(191, 255, 10, 0.2);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#sep-canvas.active {
    display: block;
}

.sep-preview-placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (min-width: 769px) {
    .sep-preview-placeholder {
        color: rgba(255, 255, 255, 0.5);
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
}

/* ===== BUTTONS ===== */
.sep-btn-primary {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #BFFF0A 0%, #8bc34a 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(191, 255, 10, 0.3);
}

@media (min-width: 769px) {
    .sep-btn-primary {
        padding: 18px 40px;
        border-radius: 15px;
        font-size: 1.15rem;
        letter-spacing: 2px;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(191, 255, 10, 0.3);
    }
}

.sep-btn-primary:active {
    transform: scale(0.98);
}

@media (min-width: 769px) {
    .sep-btn-primary:hover:not(:disabled) {
        background: linear-gradient(135deg, #d4ff3d 0%, #9ed14f 100%);
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(191, 255, 10, 0.5);
    }
}

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

/* ===== ACTIONS SECTION ===== */
.sep-actions {
    margin-top: 20px;
    animation: fadeIn 0.5s ease;
}

@media (min-width: 769px) {
    .sep-actions {
        margin-top: 25px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.sep-share-buttons {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
    .sep-share-buttons {
        margin-top: 25px;
        padding-top: 25px;
        border-top: 2px solid rgba(255, 255, 255, 0.1);
    }
}

.sep-share-buttons p {
    margin-bottom: 15px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

@media (min-width: 769px) {
    .sep-share-buttons p {
        color: #fff;
        margin-bottom: 18px;
        letter-spacing: 1px;
        font-size: 0.95rem;
    }
}

.sep-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    margin: 4px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (min-width: 769px) {
    .sep-share-btn {
        gap: 10px;
        padding: 12px 24px;
        margin: 6px;
        border-radius: 12px;
        font-size: 0.95rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

.sep-share-btn:active {
    transform: scale(0.95);
}

@media (min-width: 769px) {
    .sep-share-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
}

.sep-share-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1ebc59 100%);
    color: #fff;
}

.sep-share-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0d65d9 100%);
    color: #fff;
}

.sep-share-twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
    color: #fff;
}

.sep-share-linkedin {
    background: linear-gradient(135deg, #0A66C2 0%, #084d91 100%);
    color: #fff;
}

/* ===== FOOTER ===== */
.sep-footer {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

@media (min-width: 769px) {
    .sep-footer {
        padding: 40px 20px;
        margin-top: 60px;
    }
}

.sep-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #BFFF0A, transparent);
}

@media (min-width: 769px) {
    .sep-footer::before {
        width: 100px;
        height: 3px;
    }
}

.sep-footer p {
    margin: 6px 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

@media (min-width: 769px) {
    .sep-footer p {
        margin: 8px 0;
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
}

.sep-footer p:first-of-type {
    margin-top: 15px;
}

@media (min-width: 769px) {
    .sep-footer p:first-of-type {
        margin-top: 20px;
    }
}

/* ===== LOADING STATE ===== */
.sep-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.sep-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(191, 255, 10, 0.2);
    border-radius: 50%;
    border-top-color: #BFFF0A;
    animation: spin 0.8s linear infinite;
}

@media (min-width: 769px) {
    .sep-loading::after {
        width: 40px;
        height: 40px;
        margin: -20px 0 0 -20px;
        border-width: 4px;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SELECTION COLOR ===== */
::selection {
    background: #BFFF0A;
    color: #000;
}

::-moz-selection {
    background: #BFFF0A;
    color: #000;
}

/* ===== CUSTOM SCROLLBAR (Desktop Only) ===== */
@media (min-width: 769px) {
    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2);
    }

    ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #BFFF0A 0%, #8bc34a 100%);
        border-radius: 5px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #d4ff3d 0%, #9ed14f 100%);
    }
}