/* SufLearn - Futuristic Theme */
/* Dark Mode, Neon Accents, Glassmorphism */

:root {
    --bg-color: #050510;
    --text-color: #e0e0e0;
    --accent-cyan: #00f3ff;
    --accent-purple: #bc13fe;
    --accent-pink: #ff0055;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(188, 19, 254, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.15) 0%, transparent 40%);
    min-height: 100vh;
}

body.route-leave {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', 'Inter', sans-serif;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(0, 243, 255, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.logo-placeholder {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 243, 255, 0.6);
    }

    100% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }
}

.logo-placeholder img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.site-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    margin-bottom: 10px;
}

.site-description {
    font-size: 1.2rem;
    color: #aaaaaa;
    max-width: 600px;
}

/* Section */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--glass-border);
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #888888;
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.profile-cta-wrap {
    display: flex;
    justify-content: center;
}

.profile-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid rgba(0, 243, 255, 0.65);
    background: linear-gradient(120deg, #003244 0%, #006b86 50%, #00d6ff 100%);
    color: #e9fbff;
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    box-shadow: 0 0 24px rgba(0, 243, 255, 0.45), 0 0 46px rgba(0, 107, 134, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: #86f4ff;
    box-shadow: 0 0 32px rgba(134, 244, 255, 0.85), 0 0 56px rgba(0, 107, 134, 0.5);
}

/* Learning Methods */
#methods-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.method-item {
    padding: 28px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.method-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #ffffff;
}

.method-points {
    list-style: none;
    display: grid;
    gap: 10px;
    color: #a8a8a8;
    font-size: 0.98rem;
}

.method-points li {
    position: relative;
    padding-left: 18px;
}

.method-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.card:hover {
    transform: translateY(-10px);
    background: var(--card-hover-bg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.card-status {
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.card-status.active {
    background: rgba(0, 243, 255, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.card-status.coming-soon {
    background: rgba(255, 255, 255, 0.1);
    color: #888888;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(100%);
}

.card.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Sponsor Section */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sponsor-img-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    position: relative;
}

.sponsor-img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 243, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sponsor-img-container:hover {
    transform: scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.sponsor-img-container:hover::after {
    opacity: 1;
}

.sponsor-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.sponsor-img-container:hover img {
    opacity: 1;
}

.sponsor-label {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(to top, #000000, var(--bg-color));
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-quote {
    font-size: 1.1rem;
    color: #aaaaaa;
    font-style: italic;
    margin-bottom: 30px;
}

.footer-credit {
    font-size: 0.9rem;
    color: #666666;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    max-width: 500px;
    margin: 0 auto;
}

/* Loading State */
.loading {
    color: var(--accent-cyan);
    font-family: 'Orbitron', monospace;
    letter-spacing: 2px;
    animation: blink 1s infinite;
    text-align: center;
}

/* Floating Support Button */
.floating-support-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(210, 255, 77, 0.9);
    background: linear-gradient(120deg, #1e7e34 0%, #38b000 45%, #d4ff3a 100%);
    color: #05120a;
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(212, 255, 58, 0.5), 0 0 40px rgba(56, 176, 0, 0.35);
    backdrop-filter: blur(10px);
    animation: support-pulse 1.5s infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.floating-support-btn:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: #edff8f;
    box-shadow: 0 0 30px rgba(237, 255, 143, 0.8), 0 0 55px rgba(56, 176, 0, 0.55);
}

.floating-login-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 243, 255, 0.8);
    background: linear-gradient(120deg, #003244 0%, #006b86 50%, #00d6ff 100%);
    color: #e7f8ff;
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.45), 0 0 40px rgba(0, 107, 134, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.35s ease;
}

.floating-login-btn:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: #86f4ff;
    box-shadow: 0 0 30px rgba(134, 244, 255, 0.8), 0 0 55px rgba(0, 107, 134, 0.5);
}

.floating-login-btn.is-dismissed {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.98);
}

@keyframes support-pulse {
    0% {
        box-shadow: 0 0 20px rgba(212, 255, 58, 0.45), 0 0 38px rgba(56, 176, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 34px rgba(237, 255, 143, 0.85), 0 0 68px rgba(56, 176, 0, 0.55);
    }

    100% {
        box-shadow: 0 0 20px rgba(212, 255, 58, 0.45), 0 0 38px rgba(56, 176, 0, 0.3);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }

    .header {
        padding: 50px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .floating-support-btn {
        right: 14px;
        bottom: 14px;
        padding: 10px 14px;
        font-size: 0.72rem;
        letter-spacing: 0.5px;
    }

    .floating-login-btn {
        left: 14px;
        bottom: 14px;
        padding: 10px 14px;
        font-size: 0.72rem;
        letter-spacing: 0.5px;
    }

    .profile-cta-wrap {
        width: 100%;
    }

    .profile-cta-btn {
        width: 100%;
        min-height: 52px;
        padding: 12px 18px;
    }
}
