:root {
    --bg-color: #423d3d;
    --text-color: #000000;
    --primary-color: #c9691a;
    --secondary-bg: #fff;
    --border-color: #ddd;
    --menu-bg: rgba(223, 115, 27, 0.95);
    --card-bg: #fff;
    --shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --primary-color: #ff8c42;
    --secondary-bg: #2d2d2d;
    --border-color: #444;
    --menu-bg: rgba(255, 140, 66, 0.95);
    --card-bg: #2d2d2d;
    --shadow: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    margin: 0;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.navbar-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
    align-items: center;
}

.navbar-list li {
    position: relative;
}

.navbar-list .link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar-list .link:hover,
.navbar-list .link.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.navbar-list .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar-list .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-list .btn:focus {
    outline: none;
    border-color: #ffffff;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar-list {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(223, 115, 27, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 0.5rem;
    }

    .navbar-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-list li {
        width: 100%;
    }

    .navbar-list .link,
    .navbar-list .btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 8px;
    }
}

.hamburger-menu {
    width: 48px;
    height: 48px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.hamburger-menu:hover {
    background: rgba(0, 0, 0, 0.5);
}

.menu {
    display: none;
    width: calc(100% - 40px);
    max-width: 220px;
    position: absolute;
    top: 80px;
    left: 20px;
    background-color: rgba(223, 115, 27, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 12px;
    overflow: hidden;
}

.menu li {
    list-style: none;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu li a {
    display: block;
    padding: 14px 18px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
}

.menu li a:hover,
.menu li a.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: #c9691a;
}

.theme-toggle-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-selector {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.language-selector:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.language-selector:focus {
    outline: none;
    border-color: #df731b;
}

.hamburger-menu .menu-burger span,
.menu-burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #645d5d;
    margin: 5px 0;
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
    border-radius: 2px;
}

.hamburger-menu.open .menu-burger span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger-menu.open .menu-burger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-menu.open .menu-burger span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.circle {
    width: 10px;
    height: 10px;
    background-color: #052233;
    border-radius: 50%;
    position: absolute;
    mix-blend-mode: difference;
    transition: all 0.1s ease-out;
    pointer-events: none;
    transform: scale(1);
    z-index: -1;
}

h2:hover + .circle {
    transform: scale(70);
}

.hero-background,
.hero-background h2 {
    width: 100%;
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    text-transform: capitalize;
    overflow: hidden;
}

.hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform 0.15s ease-out;
}

.content {
    width: 100%;
    padding: 36px 20px;
    background-color: #423d3d;
}

.content h2 {
    margin-bottom: 20px;
    color: #c9691a;
    font-size: 32px;
    font-weight: 500;
    text-align: center;
}

.content p {
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    text-align: justify;
    text-align-last: center;
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto;
}

.poetry-section {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(135deg, #fa5102ef 0%, #ffdb65e5 50%, #ecf45bcb 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    position: relative;
}

.poetry-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><text x="10" y="20" font-family="monospace" font-size="12" fill="rgba(255,255,255,0.03)">01010101</text><text x="30" y="50" font-family="monospace" font-size="12" fill="rgba(255,255,255,0.03)">&lt;code/&gt;</text><text x="15" y="80" font-family="monospace" font-size="12" fill="rgba(255,255,255,0.03)">{ }</text></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.poetry-container {
    max-width: 850px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.poetry-card {
    background: rgba(59, 58, 58, 0.98);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(88, 43, 5, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(223, 115, 27, 0.3);
}

.poetry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 80px rgba(88, 43, 5, 0.5);
    border-color: rgba(223, 115, 27, 0.6);
}

.poetry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #df731b 0%, #c9691a 50%, #582b05 100%);
}

.poetry-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(223, 115, 27, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid rgba(223, 115, 27, 0.3);
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #df731b, transparent);
}

.card-title {
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #df731b 0%, #c9691a 50%, #582b05 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-author {
    font-size: 14px;
    color: #c9691a;
    font-style: italic;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-body {
    margin-bottom: 20px;
}

.poem-text {
    color: #ffffff;
    line-height: 2;
    font-size: 16px;
    font-weight: 400;
}

.poem-text p {
    margin-bottom: 22px;
    text-align: left;
    animation: fadeInUp 0.8s ease-out;
    padding-left: 10px;
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.poem-text p:hover {
    border-left-color: #df731b;
}

.poem-text strong {
    color: #df731b;
    font-weight: 700;
    font-size: 17px;
}

.poem-text em {
    color: #c9691a;
    font-style: italic;
    font-weight: 500;
}

.poem-text .signature {
    font-family: 'Courier New', monospace;
    color: #fae05b;
    font-size: 14px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed rgba(223, 115, 27, 0.3);
    font-style: italic;
}

.poem-text p:last-child {
    margin-bottom: 0;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.code-icon {
    font-size: 60px;
    color: #df731b;
    font-family: 'Courier New', monospace;
    line-height: 1;
    font-weight: bold;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section {
    width: 100%;
    padding: 80px 20px;
    background-color: #423d3d;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-content {
    background: rgba(223, 115, 27, 0.08);
    border: 1px solid #df731b;
    border-radius: 12px;
    padding: 60px 45px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-content:hover {
    transform: translateY(-3px);
    border-color: #c9691a;
}

.contact-title {
    font-size: 28px;
    font-weight: 700;
    color: #df731b;
    margin: 0 0 30px 0;
    letter-spacing: 1px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #df731b;
    font-weight: 600;
    opacity: 0.8;
}

.info-value {
    font-size: 18px;
    color: #fff;
    font-weight: 500;
}

.email-link {
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.email-link:hover {
    color: #df731b;
}

footer {
    width: 100%;
    background-color: #c9691a;
    text-align: center;
    color: #fff;
    padding: 24px 12px;
}

footer > p {
    margin: 0;
    padding: 4px 0;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .hamburger-menu {
        display: none;
    }

    .menu {
        display: flex !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        background: none !important;
        box-shadow: none !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    .menu li {
        list-style: none;
        padding: 0;
        border-bottom: none;
    }

    .menu li a {
        display: inline-block;
        padding: 10px 15px;
        color: #ffffff;
        text-decoration: none;
        font-weight: 500;
        transition: background-color 0.2s ease-in-out;
        border-radius: 5px;
    }

    .menu li a:hover,
    .menu li a.active {
        background-color: rgba(255, 255, 255, 0.25);
    }

    .theme-toggle-btn,
    .language-selector {
        margin-left: 10px;
    }

    .hero-background,
    .hero-background h2 {
        height: 100vh;
        font-size: 48px;
    }

    .content {
        padding: 80px 80px;
    }

    .content h2 {
        font-size: 56px;
    }

    .poetry-section {
        padding: 100px 40px;
    }

    .poetry-card {
        padding: 60px 60px;
    }

    .card-title {
        font-size: 48px;
    }

    .card-author {
        font-size: 16px;
    }

    .poem-text {
        font-size: 18px;
    }

    .poem-text strong {
        font-size: 19px;
    }

    .code-icon {
        font-size: 80px;
    }

    .contact-section {
        padding: 90px 40px;
    }

    .contact-content {
        padding: 70px 70px;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-info {
        flex-direction: row;
        gap: 60px;
        justify-content: center;
    }

    .info-value {
        font-size: 20px;
    }
}

.about-section {
    background: linear-gradient(180deg, #e6750c 0%, #e96868 100%);
    color: #2c2c2c;
    padding: 4rem 1.5rem;
    border-radius: 16px;
    margin: 3rem auto;
    max-width: 1100px;
    box-shadow: 0 10px 30px rgba(88, 43, 5, 0.08);
    border: 1px solid rgba(128, 128, 128, 0.06);
    text-align: center;
}

.about-intro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.5rem;
}

.about-intro .lead {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0 auto 2rem auto;
    max-width: 800px;
}

.poetry-controls {
    margin-bottom: 2.5rem;
}

.poem-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.category-select {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 2px solid rgba(223, 115, 27, 0.18);
    background: #585656;
    color: #ffffff;
    font-size: 1rem;
    min-width: 240px;
    transition: all 0.25s ease;
    margin-bottom: 0.5rem;
}

.category-select:focus {
    border-color: #df731b;
    box-shadow: 0 6px 18px rgba(223, 115, 27, 0.1);
}

.poem-form input[type="text"] {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 2px solid rgba(223, 115, 27, 0.18);
    background: #585656;
    font-size: 1rem;
    min-width: 240px;
    transition: all 0.25s ease;
}

.poem-form input[type="text"]:focus {
    border-color: #df731b;
    box-shadow: 0 6px 18px rgba(223, 115, 27, 0.1);
}

.poem-form button {
    background:#f94614af;
    color: #000000;
    border: none;
    padding: 0.8rem 1.4rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poem-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.collab-form button {
    background: #f94614af;
    color: #000000;
    border: none;
    padding: 0.8rem 1.4rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collab-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.poetry-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    justify-items: center;
}

.poem-card {
    background: #f94614af;
    border-radius: 14px;
    border: 1px solid rgba(223, 115, 27, 0.15);
    padding: 1.4rem;
    width: 100%;
    max-width: 340px;
    text-align: left;
    box-shadow: 0 8px 26px rgba(88, 43, 5, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poem-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(223, 115, 27, 0.15);
}

.poem-card blockquote {
    font-style: italic;
    color: #faf393;
    line-height: 1.6;
    margin: 0;
}

.poem-card footer {
    margin-top: 0.8rem;
    background-color: rgba(235, 10, 10, 0.439);
    font-weight: 700;
    color: #ebe489;
    font-size: 0.95rem;
    text-align: right;
}

.poem-meta {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.poem-meta .category {
    background: #df731b;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-transform: capitalize;
}

.poem-meta .tags {
    color: #c9691a;
    font-style: italic;
}

@media (min-width: 768px) {
    .poem-form input[type="text"] {
        min-width: 300px;
    }
}

/* Collaboration Section Styles */
.collab-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 80px 20px;
    min-height: 60vh;
}

.collab-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.collab-section .lead {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0 auto 3rem auto;
    max-width: 800px;
    text-align: center;
}

.collab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.collab-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.collab-form input,
.collab-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    background: #fafafa;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.collab-form input:focus,
.collab-form textarea:focus {
    outline: none;
    border-color: #c9691a;
    box-shadow: 0 0 0 3px rgba(201, 105, 26, 0.1);
}

.collab-form textarea {
    resize: vertical;
    min-height: 80px;
}

.collab-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.collab-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.collab-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.collab-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.collab-card .role {
    color: #c9691a;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.collab-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: #c82333;
}

.no-collab {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .collab-grid {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }

    .collab-section h2 {
        font-size: 3rem;
    }

    .collab-form {
        padding: 2.5rem;
    }
}

/* Authentication Page Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #423d3d 0%, #2c2c2c 100%);
    padding: 20px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(10px);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: #4d2607;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.auth-header p {
    color: #666;
    font-size: 1rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    background: #423d3d;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.tab-btn.active {
    background: #c9691a;
    color: #ffffff;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #c9691a;
    box-shadow: 0 0 0 3px rgba(201, 105, 26, 0.1);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: #c9691a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #b85c15;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #c9691a;
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
        margin: 10px;
    }

    .auth-header h1 {
        font-size: 2rem;
    }
}
/* Profile Page Styles */
.profile-section {
    padding: 120px 20px 60px;
    min-height: 100vh;
}

.profile-section .profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.profile-section .profile-header .profile-avatar {
    flex-shrink: 0;
}

.profile-section .profile-header .profile-avatar .avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9691a 0%, #b85c15 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(201, 105, 26, 0.3);
}

.profile-section .profile-header .profile-info h1 {
    color: #333;
    margin-bottom: 5px;
    font-size: 2rem;
}

.profile-section .profile-header .profile-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.profile-section .profile-header .profile-stats {
    display: flex;
    gap: 30px;
}

.profile-section .profile-header .profile-stats .stat {
    text-align: center;
}

.profile-section .profile-header .profile-stats .stat .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #c9691a;
}

.profile-section .profile-header .profile-stats .stat .stat-label {
    color: #666;
    font-size: 0.9rem;
}

.profile-section .profile-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.profile-section .profile-content .profile-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.profile-section .profile-content .profile-tabs .tab-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.profile-section .profile-content .profile-tabs .tab-btn.active {
    color: #c9691a;
    border-bottom-color: #c9691a;
}

.profile-section .profile-content .profile-tabs .tab-btn:hover {
    color: #c9691a;
}

.profile-section .profile-content .tab-pane {
    display: none;
}

.profile-section .profile-content .tab-pane.active {
    display: block;
}

.profile-section .profile-content .tab-pane .overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.profile-section .profile-content .tab-pane .overview-grid .overview-card {
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    background: #fafafa;
}

.profile-section .profile-content .tab-pane .overview-grid .overview-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.profile-section .profile-content .tab-pane .overview-grid .overview-card .activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.profile-section .profile-content .tab-pane .overview-grid .overview-card .activity-list .activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.profile-section .profile-content .tab-pane .overview-grid .overview-card .activity-list .activity-item:last-child {
    border-bottom: none;
}

.profile-section .profile-content .tab-pane .overview-grid .overview-card .activity-list .activity-item .activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c9691a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.profile-section .profile-content .tab-pane .overview-grid .overview-card .activity-list .activity-item .activity-content p {
    margin: 0;
    color: #333;
    font-weight: 500;
}

.profile-section .profile-content .tab-pane .overview-grid .overview-card .activity-list .activity-item .activity-content small {
    color: #666;
    font-size: 0.8rem;
}

.profile-section .profile-content .tab-pane .overview-grid .overview-card .profile-summary p {
    margin: 8px 0;
    color: #555;
}

.profile-section .profile-content .tab-pane .overview-grid .overview-card .status-active {
    color: #28a745;
    font-weight: 600;
}

.profile-section .profile-content .tab-pane .poems-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.profile-section .profile-content .tab-pane .poems-list {
    display: grid;
    gap: 20px;
}

.profile-section .profile-content .tab-pane .poems-list .poem-card {
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    background: #fafafa;
    position: relative;
}

.profile-section .profile-content .tab-pane .poems-list .poem-card blockquote {
    margin: 0 0 10px 0;
    font-style: italic;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.profile-section .profile-content .tab-pane .poems-list .poem-card footer {
    color: #c9691a;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-section .profile-content .tab-pane .poems-list .poem-card .poem-date {
    color: #666;
    font-size: 0.8rem;
}

.profile-section .profile-content .tab-pane .settings-section h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.profile-section .profile-content .tab-pane .settings-form {
    max-width: 500px;
}

.profile-section .profile-content .tab-pane .settings-form .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.profile-section .profile-content .tab-pane .settings-form .form-actions .save-btn {
    padding: 12px 24px;
    background: #c9691a;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.profile-section .profile-content .tab-pane .settings-form .form-actions .save-btn:hover {
    background: #b85c15;
}

.profile-section .profile-content .tab-pane .settings-form .form-actions .logout-btn {
    padding: 12px 24px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.profile-section .profile-content .tab-pane .settings-form .form-actions .logout-btn:hover {
    background: #c82333;
}

.profile-section .profile-content .tab-pane .no-activity,
.profile-section .profile-content .tab-pane .no-poems {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 20px;
}

@media (max-width: 768px) {
    .profile-section .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .profile-section .profile-header .profile-stats {
        justify-content: center;
    }

    .profile-section .profile-content .tab-pane .overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .profile-section .profile-content .profile-tabs {
        flex-wrap: wrap;
    }

    .profile-section .profile-content .profile-tabs .tab-btn {
        flex: 1;
        min-width: 120px;
    }

    .profile-section .profile-content .tab-pane .settings-form .form-actions {
        flex-direction: column;
    }

    .profile-section .profile-content .tab-pane .overview-grid .overview-card .activity-list .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

