/* ============================
   GLOBAL & DESIGN TOKENS
   ============================ */
:root {
    --primary: #4fc3f7;
    --primary-glow: rgba(79, 195, 247, 0.4);
    --secondary: #b3e5fc;
    --accent: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --bg-dark: #050505;
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================
   AMBIENT BACKGROUND
   ============================ */
.bg-blur-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0a0a0a 0%, #050505 100%);
}

.bg-shape {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.15;
    transition: transform 0.1s ease-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    left: -10%;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #6200ea;
    bottom: -5%;
    right: -5%;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #00e5ff;
    top: 40%;
    left: 60%;
}

/* ============================
   REVEAL ANIMATIONS
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   TOP NAVIGATION
   ============================ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: flex-end;
    z-index: 1000;
}

.about-btn-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem 0.5rem 0.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.about-btn-modern img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.about-btn-modern span {
    font-size: 0.9rem;
    font-weight: 500;
}

.about-btn-modern:hover {
    background: var(--glass-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(79, 195, 247, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(79, 195, 247, 0.2);
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-title .accent {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .accent::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--primary);
    opacity: 0.2;
    z-index: -1;
}

.hero-subtitle {
    max-width: 600px;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.btn-main {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.btn-main.primary {
    background: var(--primary);
    color: black;
}

.btn-main.primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-main.glass {
    background: var(--glass);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-main.glass:hover {
    background: var(--glass-hover);
    transform: translateY(-5px);
}

/* ============================
   WORKSHOP SECTION
   ============================ */
.workshop-section {
    padding: 10rem 10%;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.day-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.day-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-glow), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.day-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.day-card:hover::before {
    opacity: 0.3;
}

.day-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.day-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.day-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.day-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.day-card.locked {
    cursor: default;
    opacity: 0.6;
}

.day-card.locked .card-link {
    color: var(--text-muted);
}

.day-card.locked:hover {
    transform: none;
    border-color: var(--glass-border);
}

/* ============================
   QUICK LINKS
   ============================ */
.quick-links {
    padding-bottom: 10rem;
    padding-top: 5rem;
}

.links-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 0 10%;
}

.quick-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    min-width: 350px;
}

.box-icon {
    font-size: 2rem;
    color: var(--primary);
}

.quick-box h4 {
    font-family: var(--font-heading);
}

.quick-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.quick-box:hover {
    background: var(--glass-hover);
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* ============================
   FOOTER
   ============================ */
.home-footer {
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-main {
        justify-content: center;
    }

    .quick-box {
        min-width: 100%;
    }
}

/* ===== RESOURCES PAGE ===== */
.resources-body {
    background: #111;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    padding: 40px;
}

.resources-container {
    max-width: 800px;
    margin: auto;
}

.resource-section {
    margin-bottom: 40px;
}

.resource-section a {
    color: #4fc3f7;
    text-decoration: none;
}

.resource-section a:hover {
    text-decoration: underline;
}

.back-btn {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    padding: 10px 20px;
    background: #4fc3f7;
    color: black;
    border-radius: 8px;
}

/* Placeholder Page Styling */
.placeholder-body {
    background: #111;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-body {
    background: #111;
    color: #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-header {
    margin-bottom: 30px;
}

.back-link {
    text-decoration: none;
    color: #888;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: #fff;
}

.profile-section {
    margin-bottom: 50px;
    animation: fadeIn 0.8s ease-out;
}

.profile-text h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
    color: #fff;
}

.highlight-name {
    background: linear-gradient(135deg, #4fc3f7, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 20px;
    font-weight: 300;
}

.bio {
    font-size: 1.1rem;
    max-width: 700px;
    color: #ccc;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

.grid-item h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #fff;
}

.grid-item h2 i {
    margin-right: 10px;
    color: #4fc3f7;
}

/* Timeline/Education Styles */
.timeline-item {
    border-left: 2px solid #4fc3f7;
    padding-left: 15px;
    margin-bottom: 20px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #111;
    border: 2px solid #4fc3f7;
    border-radius: 50%;
}

.timeline-item h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.institution {
    margin: 5px 0 0 0;
    font-size: 0.95rem;
    color: #aaa;
}

.status {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.8rem;
    background: rgba(79, 195, 247, 0.2);
    color: #4fc3f7;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Interest List */
.interest-list {
    list-style: none;
    padding: 0;
}

.interest-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.interest-list li i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: #4fc3f7;
}

/* Research Card */
.research-section {
    margin-bottom: 50px;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
}

.research-section h2 {
    margin-top: 0;
    color: #fff;
    margin-bottom: 20px;
}

.research-subtitle {
    font-style: italic;
    color: #888;
    margin-bottom: 15px;
}

.research-details {
    margin-top: 15px;
    padding-left: 20px;
}

.research-details li {
    margin-bottom: 8px;
    color: #ddd;
}

/* Sports Section */
.sports-section {
    padding: 20px;
    border-left: 4px solid #fdd835;
    background: rgba(253, 216, 53, 0.05);
}

.sports-section h2 {
    margin-top: 0;
    font-size: 1.4rem;
    color: #fdd835;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home Page About Button */
/* Home Page About Button (Profile Pic) */
.about-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 100;
    padding: 0;
    /* Override previous padding */
    background: #000;
}

.about-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-btn:hover {
    transform: scale(1.1);
    border-color: #4fc3f7;
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.4);
}

.about-btn:hover img {
    transform: scale(1.1);
}

/* Tooltip for About Me */
.about-btn::after {
    content: 'About Me';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.about-btn:hover::after {
    opacity: 1;
}

/* Video Section */
.video-section {
    margin-top: 50px;
    margin-bottom: 30px;
}

.video-section h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.video-section h2 i {
    color: #ff0000;
    margin-right: 10px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Thumbnail Link Styles */
.video-thumbnail-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

.video-thumbnail-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail-link:hover img {
    transform: scale(1.02);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.video-thumbnail-link:hover .play-button {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}
/* ============================
   DAY 2 DASHBOARD STYLES
   ============================ */
.dashboard-container {
    padding: 8rem 5% 5rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

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

.dashboard-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.dashboard-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.dashboard-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.dashboard-card:hover {
    background: var(--glass-hover);
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    color: var(--primary);
    transition: var(--transition);
}

.dashboard-card:hover .card-icon {
    background: var(--primary);
    color: black;
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-action {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.dashboard-card:hover .card-action {
    gap: 1rem;
}

/* Specific Card Accents */
.card-recall .card-icon { color: #facc15; } /* Yellow */
.card-troubleshoot .card-icon { color: #f43f5e; } /* Red */
.card-vm .card-icon { color: #3b82f6; } /* Blue */
.card-links .card-icon { color: #10b981; } /* Green */
.card-ssd .card-icon { color: #8b5cf6; } /* Purple */

.card-recall:hover { border-color: #facc15; }
.card-troubleshoot:hover { border-color: #f43f5e; }
.card-vm:hover { border-color: #3b82f6; }
.card-links:hover { border-color: #10b981; }
.card-ssd:hover { border-color: #8b5cf6; }

/* ============================
   DAY 2 RECALL MODULE STYLES
   ============================ */

/* Flashcard Grid */
.flashcard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Flashcard Container */
.flashcard {
    background-color: transparent;
    width: 100%;
    height: 300px;
    perspective: 1000px;
    cursor: pointer;
}

/* Flashcard Inner (Double Sided) */
.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.flashcard.flipped .flashcard-inner {
    transform: rotateY(180deg);
}

/* Front & Back Faces */
.flashcard-front, .flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border: 1px solid var(--glass-border);
}

/* Front Styling */
.flashcard-front {
    background: var(--glass);
    backdrop-filter: blur(12px);
}

.flashcard-front h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.flashcard-front p {
    color: var(--text-muted);
}

.click-hint {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.7;
    border: 1px solid var(--glass-border);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

/* Back Styling */
.flashcard-back {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1), rgba(98, 0, 234, 0.1));
    backdrop-filter: blur(15px);
    transform: rotateY(180deg);
    border: 1px solid var(--primary);
}

.flashcard-back h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.flashcard-back p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Checklist Styling */
.checklist-container {
    background: var(--glass);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--glass-border);
    max-width: 800px;
    margin: 0 auto 4rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.checklist-item:hover {
    background: rgba(255,255,255,0.08);
}

.checklist-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checklist-item.checked .checklist-checkbox {
    background: var(--primary);
}

.checklist-item.checked .checklist-checkbox::after {
    content: '✔';
    color: black;
    font-size: 14px;
    font-weight: bold;
}

.checklist-text {
    font-size: 1.1rem;
}

/* Golden Rules Box */
.golden-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.rule-card {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.rule-card h3 {
    color: #ffd700;
    margin-bottom: 0.5rem;
}
