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

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
    --accent-gold: #ffd700;
}

/* 3D Icon Styles */
.icon-3d {
    display: inline-block;
    transform: perspective(500px) rotateY(-5deg) rotateX(5deg);
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.3),
        4px 4px 0px rgba(0, 0, 0, 0.2),
        6px 6px 10px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.3),
        inset -1px -1px 0px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 215, 0, 0.8) 50%, rgba(255, 200, 0, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--accent-gold);
}

.icon-3d:hover {
    transform: perspective(500px) rotateY(0deg) rotateX(0deg) scale(1.1);
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.3),
        4px 4px 0px rgba(0, 0, 0, 0.2),
        8px 8px 15px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.5),
        inset -1px -1px 0px rgba(255, 255, 255, 0.3);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.section-icon {
    margin-right: 0.5rem;
    font-size: 1.2em;
    vertical-align: middle;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('../images/spinfred-background.png') center center / cover no-repeat fixed;
    background-color: var(--dark-bg);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--accent-gold);
    font-weight: bold;
}

.breadcrumb-list a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--accent-gold);
}

.breadcrumb-list span {
    color: #ffffff;
}

/* Internal Linking */
.internal-link {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
    border-bottom: 2px solid #4ecdc4;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(78, 205, 196, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.internal-link:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.3);
    border-bottom-color: #ffd700;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(255, 215, 0, 0.8);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
    transform: translateY(-1px);
}

/* Bio Content Links */
.bio-content a,
.commitment-text a {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
    border-bottom: 2px solid #4ecdc4;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(78, 205, 196, 0.6);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.bio-content a:hover,
.commitment-text a:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.35);
    border-bottom-color: #ffd700;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(255, 215, 0, 0.8);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
    transform: translateY(-1px);
}

/* Navbar */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
}

.logo a:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.nav-menu-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-right {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-center a,
.nav-menu-right a {
    white-space: nowrap;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-menu a.active {
    color: var(--accent-gold);
}

.nav-menu a.active:not(:has(img))::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
}

.nav-menu a img {
    display: block;
}

.nav-button-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-menu a:hover .nav-button-img {
    transform: scale(1.1);
}

.nav-menu a.active .nav-button-img {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* Author Hero Section */
.author-hero {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    backdrop-filter: blur(10px);
}

.author-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-avatar-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.author-info {
    flex: 1;
}

.author-name-title {
    font-size: 3rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 1), 0 0 30px rgba(0, 0, 0, 0.8);
}

.author-title {
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.author-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(78, 205, 196, 0.2);
    border: 1px solid rgba(78, 205, 196, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    backdrop-filter: blur(5px);
}

.author-badge i {
    font-size: 0.9rem;
}

/* Author Content Section */
.author-content {
    padding: 4rem 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Main Content */
.author-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.section-title {
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
}

.bio-section,
.expertise-section,
.articles-section {
    background: rgba(0, 0, 0, 0.7);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.bio-content p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.expertise-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.expertise-card h3 {
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.expertise-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin: 0;
}

/* Articles List */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-item {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.article-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.article-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.article-content {
    flex: 1;
}

.article-content h3 {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.article-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-link:hover {
    gap: 0.75rem;
    color: var(--secondary-color);
}

/* Sidebar */
.author-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.sidebar-title {
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.facts-list,
.credentials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facts-list li,
.credentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.facts-list li:last-child,
.credentials-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.facts-list li i,
.credentials-list li i {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.facts-list li strong {
    color: var(--accent-gold);
    font-weight: 600;
}

.commitment-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin: 0;
}

/* Footer */
footer {
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.98));
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
}

.footer-container {
    padding: 4rem 2rem 2rem;
}

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

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.footer-logo a:hover .footer-logo-img {
    transform: scale(1.05);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.footer-heading {
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-heading i {
    font-size: 1.1rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    position: relative;
    padding-left: 0;
}

.footer-menu a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-gold);
}

.footer-menu a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
    padding-left: 20px;
}

.footer-menu a:hover::before {
    opacity: 1;
    left: 0;
}

.responsible-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.help-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    background: rgba(78, 205, 196, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.help-link:hover {
    background: rgba(78, 205, 196, 0.25);
    transform: translateX(5px);
    border-color: rgba(78, 205, 196, 0.5);
}

.help-link i {
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-legal {
    flex: 1;
    min-width: 250px;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.age-restriction {
    color: var(--accent-gold) !important;
    font-weight: 600;
    font-size: 0.95rem !important;
}

.footer-certifications {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cert-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.cert-badge i {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.cert-badge span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 968px) {
    .author-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* Responsive Breadcrumbs */
@media (max-width: 768px) {
    .breadcrumbs {
        padding: 0.5rem 0;
    }
    
    .breadcrumb-list {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar .container {
        grid-template-columns: 1fr auto;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu-center {
        position: static;
        transform: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .nav-menu-right {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        align-items: center;
    }

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

    .author-hero {
        padding: 2rem 1rem;
    }

    .author-header {
        padding: 2rem;
    }

    .author-name-title {
        font-size: 2rem;
    }

    .author-title {
        font-size: 1.1rem;
    }

    .author-avatar-img {
        width: 120px;
        height: 120px;
    }

    .author-content {
        padding: 2rem 1rem;
    }

    .bio-section,
    .expertise-section,
    .articles-section,
    .sidebar-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-certifications {
        justify-content: center;
    }
}

