* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    background: #0a0a0a;
    color: #ffffff;
    padding-top: 80px;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.toggle-buttons {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    width: 300px;
    box-shadow: 0 0 40px rgba(80, 72, 229, 0.3), 0 0 80px rgba(80, 72, 229, 0.15), 0 0 120px rgba(80, 72, 229, 0.08);
}

.toggle-btn {
    flex: 1;
    padding: 0.6rem 1.2rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    border-radius: 8px;
}

.toggle-btn.active {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(80, 72, 229, 0.8), 0 0 30px rgba(80, 72, 229, 0.4);
}

.toggle-buttons::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(50% - 6px);
    height: calc(100% - 12px);
    background: linear-gradient(135deg, #5048E5 0%, #4338CA 100%);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 
        0 4px 15px rgba(80, 72, 229, 0.4),
        0 0 20px rgba(80, 72, 229, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.toggle-buttons.participate-active::before {
    transform: translateX(calc(100%));
    box-shadow: 
        0 4px 15px rgba(80, 72, 229, 0.5),
        0 0 25px rgba(80, 72, 229, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.content {
    position: relative;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

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

.header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #ffffff;
    text-align: center;
}

.header p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.info-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.4rem;
    text-align: center;
}

.section-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    text-align: center;
}

.hashtag {
    color: #5048E5;
    font-weight: 600;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1.5rem;
}

.step-card {
    background: #0d0d0d;
    border: 1px solid #151515;
    border-radius: 8px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    max-width: 280px;
    margin: 0 auto;
}

.step-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.4rem;
    text-align: left;
}

.step-description {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
    margin-bottom: 0.8rem;
    flex: 1;
    text-align: left;
}

.step-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.4rem 0.6rem;
    background: rgba(80, 72, 229, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 72, 229, 0.3);
    color: #5048E5;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
}

.step-button:hover {
    background: rgba(80, 72, 229, 0.2);
    border-color: rgba(80, 72, 229, 0.5);
}

.step-button i {
    font-size: 0.9rem;
}

.submit-section {
    margin-bottom: 2.5rem;
    text-align: center;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: rgba(80, 72, 229, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 72, 229, 0.3);
    color: #5048E5;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: rgba(80, 72, 229, 0.2);
    border-color: rgba(80, 72, 229, 0.5);
}

.prizes-section {
    margin-bottom: 2rem;
}

.table-container {
    background: #0d0d0d;
    border: 1px solid #151515;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.prizes-table {
    width: 100%;
    border-collapse: collapse;
}

.prizes-table thead {
    background: #111111;
}

.prizes-table th {
    padding: 0.8rem 1.2rem;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.8rem;
    border-bottom: 1px solid #151515;
}

.prizes-table td {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

.prizes-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.rank-cell {
    font-weight: 600;
    color: #5048E5;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    object-fit: cover;
}

.username {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.views-cell,
.prizes-cell {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .header p {
        font-size: 0.85rem;
    }
    
    .toggle-buttons {
        width: 250px;
    }
    
    .toggle-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .step-card {
        padding: 0.8rem;
        max-width: 250px;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .prizes-table th,
    .prizes-table td {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .prizes-table th,
    .prizes-table td {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
    }
    
    .step-button {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Video Submission Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active {
    display: flex;
}

/* Prevent background scrolling when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.modal {
    background: #0d0d0d;
    border: 1px solid #151515;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    align-items: left;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 5rem;
}

.modal-header h2 {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    text-align: left;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 0.8rem 3rem 0.8rem 1rem;
    background: #111111;
    border: 1px solid #202020;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #5048E5;
    box-shadow: 0 0 0 3px rgba(80, 72, 229, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.validation-indicator {
    position: absolute;
    right: 1rem;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #5048E5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.check-icon {
    color: #10B981;
    font-size: 16px;
}

.error-icon {
    color: #EF4444;
    font-size: 16px;
}

.error-message {
    color: #EF4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.modal-submit {
    width: 100%;
    padding: 0.8rem;
    background: rgba(80, 72, 229, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 72, 229, 0.3);
    color: #5048E5;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    opacity: 0.5;
    pointer-events: none;
}

.modal-submit.enabled {
    opacity: 1;
    pointer-events: auto;
    background: rgba(80, 72, 229, 0.2);
    border-color: rgba(80, 72, 229, 0.5);
}

.modal-submit.enabled:hover {
    background: rgba(80, 72, 229, 0.3);
    border-color: rgba(80, 72, 229, 0.7);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Success Popup */
.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    animation: fadeIn 0.3s ease;
}

.success-popup-overlay.active {
    display: flex;
}

.success-popup {
    background: #0d0d0d;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    font-weight: bold;
}

.success-popup h3 {
    color: #10B981;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.success-popup p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.success-btn {
    background: #10B981;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.success-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}
/* SEO Content Section */
.seo-content-section {
    margin: 3rem 0;
    padding: 2rem 0;
    background: transparent;
    color: #fff;
}

.seo-content-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
}

.seo-content-section .section-header h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.seo-content-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.competition-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #5048E5;
}

.info-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    background: rgba(80, 72, 229, 0.1);
    color: #5048E5;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(80, 72, 229, 0.2);
}

@media (max-width: 768px) {
    .competition-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1rem;
    }
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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