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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(10px);
    box-shadow: none;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

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

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* language-selector dan theme-toggle lebih dekat */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.logo:hover {
    color: var(--primary-color);
}

.logo:hover .logo-image {
    transform: scale(1.1);
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff; /* teks logo jadi putih */
    position: relative;
    padding: 0.5rem 0;
}

.logo span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover span::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* opsi warna oranye saat header dalam mode terang saat discroll */
.header.scrolled .logo span {
    color: #ffa733;
}

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

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    color: #1a1a1a;
    background: hsl(32, 78%, 52%);
    cursor: pointer;
    outline-offset: 4px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    will-change: transform;
    transform: translateY(-4px);
    transition:
        transform 600ms cubic-bezier(.3, .7, .4, 1),
        filter 250ms ease;
}

/* navbar text color switches with theme */
body.dark-mode .nav-links a {
    color: #ffffff;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: hsl(0deg 0% 0% / 0.25);
    will-change: transform;
    transform: translateY(2px);
    transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
    z-index: -2;
}

.nav-links a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(
        to left,
        hsl(32, 87%, 35%) 0%,
        hsl(39, 82%, 56%) 8%,
        hsl(39, 94%, 53%) 92%,
        hsl(34, 100%, 33%) 100%
    );
    z-index: -3;
}

.nav-links a:hover {
    filter: brightness(110%);
    -webkit-filter: brightness(110%);
    transform: translateY(-6px);
    transition:
        transform 250ms cubic-bezier(.3, .7, .4, 1.5),
        filter 250ms ease;
}

.nav-links a:hover::before {
    transform: translateY(4px);
    transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.nav-links a:active {
    transform: translateY(-2px);
    transition: transform 34ms;
}

.nav-links a:active::before {
    transform: translateY(1px);
    transition: transform 34ms;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
    position: relative;
}

.language-selector .menu-item {
    position: relative;
}

.language-selector .menu-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.language-selector .menu-item a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.language-selector .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    list-style: none;
    max-height: 0px;
    overflow: hidden;
    padding: 0;
    margin: 0;
    transform: translateY(-10px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2000;
    min-width: 120px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-selector .menu-item:hover .sub-menu,
.language-selector .menu-item:focus .sub-menu,
.language-selector .menu-item:focus-within .sub-menu {
    max-height: 300px;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.language-selector .sub-menu li {
    margin: 0;
}

.language-selector .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0;
    background: none;
    width: 100%;
    text-align: left;
    box-shadow: none;
    margin: 0;
}

.language-selector .sub-menu li a.lang-btn {
    background: none;
    color: var(--text-color);
    border-radius: 0;
    font-weight: 500;
    box-shadow: none;
    margin: 0;
    width: 100%;
}

.language-selector .sub-menu li a.lang-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: none;
    box-shadow: none;
}

.language-selector .sub-menu li a.lang-btn.active {
    background: rgba(0, 0, 0, 0.06);
    box-shadow: none;
}



.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.theme-toggle:hover::before {
    transform: scale(1);
}

/* Dark mode styles for header */
body.dark-mode .header {
    background: rgba(18, 18, 18, 0.95);
}

body.dark-mode .header.scrolled {
    background: rgba(18, 18, 18, 0.98);
}

body.dark-mode .nav-links a {
    color: var(--text-color);
}

body.dark-mode .theme-toggle {
    color: var(--text-color);
}

/* Responsive styles for header */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        gap: 0.75rem;
    }

    .language-selector {
        margin-right: 0.5rem;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo-image {
        width: 32px;
        height: 32px;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-color);
    border: 2px solid transparent;
}

.btn-ghost:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #FF8C00, #FFA500, #FFD700);
    position: relative;
    overflow: hidden;
    padding: 0 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.logo-banner {
    position: relative;
    z-index: 10;
    text-align: center;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
    animation: bounceIn 1.5s ease-out;
}

.logo-banner img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1));
}

.logo-banner h2 {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.6);
    margin-top: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes bounceIn {
    0% { transform: scale(0.3) translateY(-50px); opacity: 0; }
    50% { transform: scale(1.05) translateY(10px); opacity: 1; }
    70% { transform: scale(0.9) translateY(-5px); }
    100% { transform: scale(1) translateY(0); }
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1)) hue-rotate(0deg); }
    25% { filter: drop-shadow(0 0 30px rgba(255, 0, 0, 1)) hue-rotate(90deg); }
    50% { transform: rotate(180deg); filter: drop-shadow(0 0 30px rgba(0, 255, 0, 1)) hue-rotate(180deg); }
    75% { filter: drop-shadow(0 0 30px rgba(0, 0, 255, 1)) hue-rotate(270deg); }
    100% { transform: rotate(360deg); filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1)) hue-rotate(360deg); }
}

@keyframes glitchImg {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-3px, 2px); }
    20% { transform: translate(-3px, -2px); }
    30% { transform: translate(3px, 2px); }
    40% { transform: translate(3px, -2px); }
    50% { transform: translate(-2px, 3px); }
    60% { transform: translate(2px, 3px); }
    70% { transform: translate(-2px, -3px); }
    80% { transform: translate(2px, -3px); }
    90% { transform: translate(-1px, 1px); }
}

@keyframes glitchText {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, 1px); }
    20% { transform: translate(-2px, -1px); }
    30% { transform: translate(2px, 1px); }
    40% { transform: translate(2px, -1px); }
    50% { transform: translate(-1px, 2px); }
    60% { transform: translate(1px, 2px); }
    70% { transform: translate(-1px, -2px); }
    80% { transform: translate(1px, -2px); }
    90% { transform: translate(-0.5px, 0.5px); }
}

@keyframes textGlow {
    from { text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.6); }
    to { text-shadow: 0 0 30px rgba(255, 215, 0, 1.5), 0 0 60px rgba(255, 215, 0, 1), 0 0 90px rgba(255, 215, 0, 0.8); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero-content h1 .highlight {
    color: #FFD700;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.hero-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FFD700;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.hero-content h1:hover .highlight::after {
    transform: scaleX(1);
    transform-origin: left;
}

.typing-container {
    min-height: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.typing-text {
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 2.2rem;
    background-color: #FFD700;
    margin-left: 5px;
    animation: blink 0.7s infinite;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hero-content p {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 1;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

/* adjust button-90 for hero CTAs */
.hero-buttons .button-90.hero-cta {
    text-decoration: none;
    display: inline-block;
}

.hero-buttons .button-90.hero-cta-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 2px 19px 31px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-outline:hover {
    background: #FFD700;
    color: #FF8C00;
    transform: translateY(-3px);
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
    .logo-banner img {
        width: 120px;
    }

    .logo-banner h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .typing-text {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* About Section */
.about-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.5) 100%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.about-content h2 {
    text-align: center;
    color: #FFD700;
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    color: rgba(255, 255, 255, 0.9);
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid #FFD700;
}

.about-description::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: rgba(255, 215, 0, 0.2);
    font-family: serif;
}

.about-image {
    position: relative;
    perspective: 1000px;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), transparent);
    z-index: 1;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1));
    z-index: 2;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

/* Responsive Design for About Section */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 1rem;
    }

    .about-content {
        padding: 2rem;
    }

    .about-content h2 {
        font-size: 2.5rem;
    }

    .about-description {
        font-size: 1.1rem;
        padding-left: 1.5rem;
    }
}

/* Featured Posts Section */
.featured-posts {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 200px;
    background: linear-gradient(45deg, #6c5ce7, #a8e6cf);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.post-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-color);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #ffffff;
    padding: 4rem 2rem 2rem;
    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::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.footer-section h4 {
    color: #FFD700;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, transparent);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1.5rem;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FFD700;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFD700;
    padding-left: 2rem;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-content.footer-new {
    grid-template-columns: 1.4fr repeat(3, minmax(180px, 1fr));
    align-items: start;
    gap: 2.5rem;
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.footer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.footer-brand-text h3 {
    color: #FFD700;
    margin: 0 0 0.35rem 0;
    font-size: 1.35rem;
}

.footer-brand-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.footer-section ul li + li {
    margin-top: 0.45rem;
}

.footer-links-col h4 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links-col h4 i {
    color: #FFD700;
}

.footer-divider {
    max-width: 1200px;
    margin: 1.8rem auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    opacity: 0.9;
}

.footer-made {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.footer-made i {
    color: #ff6b6b;
}

@media (max-width: 900px) {
    .footer-content.footer-new {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-content.footer-new {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        justify-content: flex-start;
    }
}

.footer-content.footer-new {
    grid-template-columns: 1.3fr repeat(3, minmax(180px, 1fr));
    align-items: start;
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.footer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-brand-text h3 {
    color: #FFD700;
    margin: 0 0 0.4rem 0;
}

.footer-brand-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.footer-section ul li + li {
    margin-top: 0.4rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #FFD700, #FFA500) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #FFD700;
    transform: translateY(-3px);
}

.social-links a:hover::before {
    transform: rotate(180deg);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left;
    position: relative;
    z-index: 1;
}

.footer-made {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.footer-made i {
    color: #ff6b6b;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

.footer-links-bottom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links-bottom a:hover {
    color: #FFD700;
}

.footer-links-bottom .dot {
    color: rgba(255, 255, 255, 0.4);
}
.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.copyright span {
    color: #FFD700;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 1rem 1rem;
    }

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

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

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

/* Dark Mode Styles */
body.dark-mode {
    background-color: var(--dark-bg);
    color: white;
}

body.dark-mode .header {
    background-color: rgba(26, 26, 26, 0.95);
}

body.dark-mode .post-card {
    background-color: #2d2d2d;
}

body.dark-mode .nav-links a {
    color: white;
}

body.dark-mode .logo {
    color: white;
}

body.dark-mode .btn-outline {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

body.dark-mode .btn-outline:hover {
    background: var(--secondary-color);
    color: white;
}

body.dark-mode .btn-ghost {
    color: white;
}

body.dark-mode .btn-ghost:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Elegant Elements Section */
.elegant-elements {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.elements-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.elements-container h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.elements-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

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

.element-card {
    background: radial-gradient(circle at top left, #ffffff, #f3f6ff);
    border-radius: 18px;
    padding: 2.2rem;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.7),
        0 18px 30px rgba(15, 23, 42, 0.18);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.element-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9),
        0 0 35px rgba(255, 163, 26, 0.4),
        0 22px 40px rgba(15, 23, 42, 0.28);
}

.element-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(
        from 180deg,
        rgba(255, 81, 47, 0.2),
        rgba(240, 152, 25, 0.5),
        rgba(64, 115, 255, 0.3),
        rgba(255, 81, 47, 0.2)
    );
    opacity: 0;
    transform: rotate(0deg);
    transition: opacity 0.4s ease, transform 1.2s ease;
    z-index: -1;
}

.element-card:hover::before {
    opacity: 1;
    transform: rotate(25deg);
}

.element-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* subtitle/connect text inside elegant card */
.element-card h4 {
    text-align: center;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-color);
}

/* Button Showcase */
.button-showcase {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-box {
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.9));
    border-radius: 16px;
    padding: 1.7rem;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.4),
        0 0 25px rgba(64, 115, 255, 0.35),
        0 18px 35px rgba(0, 0, 0, 0.25);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    animation: socialGlow 3.5s ease-in-out infinite alternate;
}

.social-box:hover {
    transform: translateY(-6px) scale(1.02);
    background: radial-gradient(circle at top left, #FFB347, #FF8C00);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 163, 26, 0.7),
        0 22px 45px rgba(0, 0, 0, 0.35);
}

.social-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.social-box:hover i {
    transform: scale(1.1);
    color: #ffffff;
}

.social-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.social-box p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.social-box:hover h3,
.social-box:hover p {
    color: #ffffff;
}

.social-box a {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background-size: 200% auto;
    background-image: linear-gradient(
        45deg,
        #FF512F 0%,
        #F09819 50%,
        #FF512F 100%
    );
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.78rem;
    transition: all 0.4s ease;
    box-shadow:
        0 0 14px -4px #f09819,
        0 10px 25px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.social-box a::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-120%) skewX(-20deg);
    transition: transform 0.7s ease;
}

.social-box:hover a {
    background-position: right center;
    transform: translateY(-1px);
    box-shadow:
        0 0 18px -3px #f09819,
        0 16px 32px rgba(0, 0, 0, 0.35);
}

.social-box:hover a::before {
    transform: translateX(320%) skewX(-20deg);
}

/* subtle animated glow around social cards */
@keyframes socialGlow {
    0% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.35),
            0 0 20px rgba(64, 115, 255, 0.25),
            0 16px 30px rgba(0, 0, 0, 0.25);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.4),
            0 0 30px rgba(240, 152, 25, 0.45),
            0 20px 40px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.35),
            0 0 26px rgba(255, 81, 47, 0.4),
            0 18px 36px rgba(0, 0, 0, 0.28);
    }
}

.button-90 {
  color: #fff;
  padding: 15px 25px;
  border-radius: 100px;
  background-color: #ca6d17;
  background-image: radial-gradient(93% 87% at 87% 89%, rgba(0, 0, 0, 0.23) 0%, transparent 86.18%), radial-gradient(66% 87% at 26% 20%, rgba(255, 255, 255, 0.41) 0%, rgba(255, 255, 255, 0) 69.79%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 2px 19px 31px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  font-size: 16px;
  border: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-90:hover {
  background-color: #ce8322;
  box-shadow: 2px 19px 31px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.button-90:active {
  transform: translateY(0);
  box-shadow: 2px 19px 31px rgba(0, 0, 0, 0.2);
}

/* Dark Mode Styles for Elegant Elements */
body.dark-mode .elegant-elements {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
}

body.dark-mode .element-card {
    background: #2d2d2d;
}

body.dark-mode .social-box {
    background: rgba(45, 45, 45, 0.9);
    color: white;
}

body.dark-mode .social-box h3 {
    color: #FFD700;
}

body.dark-mode .social-box p {
    color: #ccc;
}

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

/* Social Media Feeds */
.social-feeds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.feed-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feed-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feed-container h3 {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.feed-container h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
}

.feed-content {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    min-height: 500px;
    background: rgba(0, 0, 0, 0.2);
}

.twitter-timeline,
.feed-content iframe {
    width: 100% !important;
    height: 500px !important;
    border: none;
    border-radius: 15px;
}

/* Responsive Design for Social Feeds */
@media (max-width: 992px) {
    .social-feeds {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .feed-container {
        padding: 1rem;
    }
    
    .feed-container h3 {
        font-size: 1.3rem;
    }

    .feed-content {
        min-height: 400px;
    }

    .twitter-timeline,
    .feed-content iframe {
        height: 400px !important;
    }
}

/* Login Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 2rem;
}

.login-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.login-box h2 {
    color: #FFD700;
    text-align: center;
    margin-bottom: 2rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #FFD700;
}

.input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.1);
}

/* Community Styles */
.community-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
}

.community-hero {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #FF8C00, #FFA500, #FFD700);
    position: relative;
    overflow: hidden;
}

.community-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

.community-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.community-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.community-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.community-posts {
    padding: 4rem 2rem;
}

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

.post-form-container {
    margin-bottom: 3rem;
}

.post-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.post-form h3 {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.posts-container h2 {
    color: #FFD700;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.post-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.post-header {
    margin-bottom: 1rem;
}

.post-header h3 {
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.post-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.post-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .community-hero h1 {
        font-size: 2.5rem;
    }

    .community-hero p {
        font-size: 1rem;
    }

    .post-form {
        padding: 1.5rem;
    }

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

/* Login and Registration Styles */
.login-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFD700;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: #FFD700;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}

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

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

/* Post Actions Styles */
.post-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-actions button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-actions button:hover {
    color: #FFD700;
}

.post-actions button i {
    font-size: 1.2rem;
}

/* Comments Section Styles */
.comments-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-list {
    margin-bottom: 1rem;
}

.comment {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.comment-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.comment-content {
    color: rgba(255, 255, 255, 0.9);
}

.add-comment {
    display: flex;
    gap: 1rem;
}

.add-comment textarea {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.8rem;
    color: white;
    resize: vertical;
    min-height: 60px;
}

.add-comment textarea:focus {
    outline: none;
    border-color: #FFD700;
}

.add-comment button {
    background: #FFD700;
    color: #1a1a1a;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-comment button:hover {
    background: #FFA500;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 0.8rem;
    }
    
    .post-actions {
        flex-wrap: wrap;
    }
    
    .add-comment {
        flex-direction: column;
    }
    
    .add-comment button {
        width: 100%;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    background: var(--card-bg);
    color: var(--text-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background: #4caf50;
    color: white;
}

.notification.error {
    background: #f44336;
    color: white;
}

/* Form Button Styles */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: var(--border-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: var(--hover-bg);
}

/* Avatar Preview Styles */
.avatar-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.avatar-preview .profile-avatar-large {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.avatar-preview-info {
    color: var(--text-secondary);
}

/* Form Group Styles */
.form-group {
    position: relative;
}

.form-group .form-help {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.form-group .form-error {
    color: #f44336;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #f44336;
}

/* Settings Section Styles */
.settings-section-header {
    margin-bottom: 2rem;
}

.settings-section-header h2 {
    margin: 0 0 0.5rem;
    color: var(--text-color);
}

.settings-section-header p {
    color: var(--text-secondary);
    margin: 0;
}

/* Dark mode adjustments */
.dark-mode .notification {
    background: var(--dark-card-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode .btn-secondary {
    background: var(--dark-border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* Remove user menu styles */
.user-menu,
.user-menu-btn,
.user-dropdown,
.user-actions,
.user-action-btn,
.login-btn,
.register-btn,
.logout-btn {
    display: none !important;
}

/* Dark mode adjustments */
.dark-mode .user-dropdown {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .user-dropdown {
        display: none !important;
    }
}

/* Privacy Policy Page Styles */
.privacy-policy-page {
    padding: 120px 20px 60px;
    background: var(--light-bg);
    min-height: 100vh;
    transition: background-color 0.3s ease;
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    color: var(--text-color);
}

.privacy-container h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-style: italic;
}

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

.privacy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.privacy-section h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.privacy-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.privacy-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-section ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

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

.privacy-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Dark mode adjustments for privacy policy */
body.dark-mode .privacy-policy-page {
    background: var(--dark-bg);
}

body.dark-mode .privacy-container {
    background: var(--dark-card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .privacy-container h1,
body.dark-mode .privacy-section h2,
body.dark-mode .privacy-section h3 {
    color: var(--text-color);
}

body.dark-mode .privacy-section h2 {
    border-bottom-color: var(--dark-border-color);
}

/* Responsive adjustments for privacy policy */
@media (max-width: 768px) {
    .privacy-policy-page {
        padding: 100px 15px 40px;
    }
    
    .privacy-container {
        padding: 25px;
    }
    
    .privacy-container h1 {
        font-size: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
} 