/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --hero-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
body.dark-mode {
    --text-dark: #f7fafc;
    --text-light: #cbd5e0;
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

/* Light Mode Variables */
body.light-mode {
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-primary);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--hero-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    position: relative;
}

.typing-cursor {
    display: inline-block;
    background: #ffffff;
    width: 3px;
    height: 1em;
    margin-left: 5px;
    animation: blink 1s infinite;
    vertical-align: text-top;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    transform: translateY(-100%);
    animation: slideDown 0.5s ease-out 0.5s forwards;
}

body.dark-mode .navbar {
    background: rgba(26, 32, 44, 0.95);
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body.dark-mode .navbar.scrolled {
    background: rgba(26, 32, 44, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

body.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1);
}

.theme-toggle:hover i {
    color: white;
}

.theme-toggle i {
    font-size: 1rem;
    color: var(--text-dark);
    position: absolute;
    transition: var(--transition);
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: rotate(180deg);
}

.theme-toggle .fa-moon {
    opacity: 1;
    transform: rotate(0deg);
}

body.light-mode .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0deg);
}

body.light-mode .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(-180deg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Sections */
.portfolio-section,
.social-section {
    padding: 6rem 0;
    position: relative;
}

.portfolio-section {
    background: var(--bg-secondary);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

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

.project-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.project-card:nth-child(1) { animation-delay: 0.2s; }
.project-card:nth-child(2) { animation-delay: 0.4s; }
.project-card:nth-child(3) { animation-delay: 0.6s; }

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    height: 200px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    transition: var(--transition);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-secondary);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.project-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #f5576c, #f093fb);
}

.project-btn i {
    font-size: 1rem;
}

.more-projects-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

.more-projects-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
}

.more-projects-content {
    text-align: center;
    padding: 2rem;
}

.more-projects-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.more-projects-card:hover .more-projects-icon {
    transform: scale(1.1);
}

.more-projects-icon i {
    font-size: 2rem;
    color: white;
}

.more-projects-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.more-projects-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.more-projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.more-projects-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.more-projects-btn i {
    font-size: 1rem;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.project-btn-secondary {
    background: var(--gradient-primary);
    border: 2px solid transparent;
}

.project-btn-secondary:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Social Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.social-btn:nth-child(1) { animation-delay: 0.2s; }
.social-btn:nth-child(2) { animation-delay: 0.4s; }
.social-btn:nth-child(3) { animation-delay: 0.6s; }

.social-btn.youtube {
    background: linear-gradient(135deg, #ff4444, #cc0000);
}

.social-btn.facebook {
    background: linear-gradient(135deg, #4267B2, #365899);
}

.social-btn.discord {
    background: linear-gradient(135deg, #7289da, #5865F2);
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.social-btn i {
    font-size: 1.5rem;
    z-index: 2;
    position: relative;
}

.social-btn span {
    z-index: 2;
    position: relative;
}

.social-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.social-btn:hover .social-bg {
    left: 0;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin: 0;
    width: 100%;
    position: relative;
}

.footer-content p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
    }

    body.dark-mode .nav-menu {
        background: rgba(26, 32, 44, 0.95);
    }

    body.light-mode .nav-menu {
        background: rgba(255, 255, 255, 0.95);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .section-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 1rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    .social-btn {
        padding: 0.875rem 1.5rem;
    }

    .project-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .project-btn {
        flex: none;
        min-width: auto;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

::-webkit-scrollbar-corner {
    background: var(--bg-secondary);
}

/* Dark mode scrollbar */
body.dark-mode ::-webkit-scrollbar-track {
    background: #2d3748;
}

body.dark-mode ::-webkit-scrollbar-corner {
    background: #2d3748;
}

/* Light mode scrollbar */
body.light-mode ::-webkit-scrollbar-track {
    background: #f7fafc;
}

body.light-mode ::-webkit-scrollbar-corner {
    background: #f7fafc;
}

/* Ensure body and html have proper background */
html {
    background: var(--bg-primary);
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background: var(--bg-primary);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Force footer to extend to bottom */
.footer::after {
    content: '';
    display: block;
    height: 1px;
    background: #2d3748;
    margin: 0;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Projects Page Reduced Hero */
.hero-reduced {
    height: 50vh;
    min-height: 400px;
}

.hero-reduced .hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-reduced .hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    position: relative;
}

/* BNR Page Specific Styles */
.back-section {
    padding: 2rem 0 1rem 0;
    background: var(--bg-secondary);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.detail-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.detail-card:nth-child(1) { animation-delay: 0.2s; }
.detail-card:nth-child(2) { animation-delay: 0.4s; }
.detail-card:nth-child(3) { animation-delay: 0.6s; }

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.detail-icon i {
    font-size: 1.5rem;
    color: white;
}

.detail-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.detail-content p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.system-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.system-card:nth-child(1) { animation-delay: 0.2s; }
.system-card:nth-child(2) { animation-delay: 0.4s; }

.system-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.system-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.system-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.system-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.system-stat {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.system-info p {
    color: var(--text-light);
    line-height: 1.6;
}

.status-notice {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.notice-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notice-icon i {
    color: white;
    font-size: 1.2rem;
}

.notice-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.notice-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.creator-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.creator-card:nth-child(1) { animation-delay: 0.2s; }
.creator-card:nth-child(2) { animation-delay: 0.4s; }

.creator-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.creator-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.creator-avatar i {
    font-size: 2.5rem;
    color: white;
}

.creator-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.creator-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.creator-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.creator-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-secondary);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.creator-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.link-btn:nth-child(1) { animation-delay: 0.2s; }
.link-btn:nth-child(2) { animation-delay: 0.4s; }
.link-btn:nth-child(3) { animation-delay: 0.6s; }

.game-link {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.website-link {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.discord-link {
    background: linear-gradient(135deg, #7289da, #5865F2);
}

.link-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.link-btn i {
    font-size: 1.5rem;
    z-index: 2;
    position: relative;
}

.link-btn span {
    z-index: 2;
    position: relative;
}

.link-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.link-btn:hover .link-bg {
    left: 0;
}

/* BNR Page Mobile Responsive */
@media (max-width: 768px) {
    .project-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .system-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .creators-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-links {
        flex-direction: column;
        align-items: center;
    }

    .link-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .status-notice {
        flex-direction: column;
        text-align: center;
    }

    .back-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* Train Models Section */
.train-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.train-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    border-left: 4px solid transparent;
}

.train-card:nth-child(1) { animation-delay: 0.2s; }
.train-card:nth-child(2) { animation-delay: 0.4s; }
.train-card:nth-child(3) { animation-delay: 0.6s; }

.train-card.active {
    border-left-color: #4CAF50;
}

.train-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.train-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.train-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.train-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.train-status.retired {
    background: linear-gradient(135deg, #9e9e9e, #757575);
    color: white;
}

.train-status.current {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.train-status.development {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.train-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.train-features {
    margin-top: 1.5rem;
}

.train-features h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.train-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.train-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-light);
}

.train-features li i {
    color: var(--primary-color);
    width: 16px;
}

/* Gallery Section */
.gallery-notice {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
    transition: var(--transition);
}

.gallery-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.gallery-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.gallery-warning {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.8;
}

body.light-mode .gallery-warning {
    display: none;
}

/* Other Projects Section */
.other-projects-section {
    padding: 4rem 0 6rem 0;
    background: var(--bg-secondary);
}

.other-projects-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.other-projects-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
}

.other-projects-content {
    text-align: center;
    padding: 2rem;
}

.other-projects-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.other-projects-card:hover .other-projects-icon {
    transform: scale(1.1);
}

.other-projects-icon i {
    font-size: 2rem;
    color: white;
}

.other-projects-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.other-projects-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.other-projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.other-projects-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.other-projects-btn i {
    font-size: 1rem;
}

/* Mobile Responsive for Train Models */
@media (max-width: 768px) {
    .train-models {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .train-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .gallery-notice {
        flex-direction: column;
        text-align: center;
    }

    .other-projects-card {
        min-height: 250px;
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.about-card:nth-child(1) {
    animation-delay: 0.2s;
}

.about-card:nth-child(2) {
    animation-delay: 0.4s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.about-card:hover .about-icon {
    transform: scale(1.1);
}

.about-icon i {
    font-size: 1.5rem;
    color: white;
}

.about-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Mobile Responsive for About Section */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .about-icon {
        margin: 0 auto;
    }
} 