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

:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero-content {
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-image {
    order: -1;
    flex: 1;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Floating Shapes */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: white;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: white;
    bottom: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: white;
    top: 50%;
    right: 5%;
    animation: float 7s ease-in-out infinite 0.5s;
}

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

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

/* Highlights Section */
.highlights {
    padding: 4rem 2rem;
    background: white;
}

.highlights-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

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

.highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Page Header */
.page-header {
    padding: 4rem 2rem 2rem;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content Wrapper */
section:not(.hero):not(.highlights) {
    background: white;
    padding: 3rem 2rem;
}

/* About Section */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.skills-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.skills-list li {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.profile-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-shape {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    animation: profilePulse 3s ease-in-out infinite;
}

@keyframes profilePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Contents Section */
.contents-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-item {
    padding: 2rem;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    border-radius: 50%;
}

.content-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.content-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.content-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.content-item p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.content-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.content-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.content-link:hover::after {
    width: 100%;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-radius: 10px;
}

.method-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: var(--text-light);
}

.contact-method a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Profile Section Styles */
.profile-section {
    background: white;
    padding: 3rem 2rem;
}

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

.profile-card {
    background: white;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.card-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--primary-color);
}

.section-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

.card-content {
    padding: 2rem;
}

/* Education Items */
.education-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.degree-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
    height: fit-content;
}

.degree-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.institution {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.location {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
}

/* Work Experience Items */
.work-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.work-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.work-period {
    background: linear-gradient(135deg, var(--accent-color), #fb923c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    min-width: 100px;
    text-align: center;
    height: fit-content;
}

.work-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.work-company {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.work-location {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
}

/* Publication Subsections */
.publication-subsection {
    margin-bottom: 2.5rem;
}

.publication-subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.publication-list {
    list-style: none;
    padding-left: 0;
}

.publication-list li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    position: relative;
}

.publication-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.publication-list li strong {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-links p {
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 0.75rem;
        font-size: 0.9rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .profile-shape {
        width: 200px;
        height: 200px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .education-item,
    .work-item {
        flex-direction: column;
        gap: 1rem;
    }

    .degree-badge,
    .work-period {
        min-width: auto;
        width: fit-content;
    }

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

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

/* ===== DARK MODE ===== */
html[data-theme="dark"] {
    --primary-color: #818cf8;
    --secondary-color: #ec4899;
    --accent-color: #fbbf24;
    --dark-bg: #0f172a;
    --light-bg: #1e293b;
    --text-dark: #f1f5f9;
    --text-light: #cbd5e1;
    --border-color: #334155;
}

html[data-theme="dark"] body {
    background: #0f172a;
    color: #f1f5f9;
}

html[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
}

html[data-theme="dark"] section:not(.hero):not(.highlights) {
    background: #1e293b;
}

html[data-theme="dark"] .content-card,
html[data-theme="dark"] .highlight-card,
html[data-theme="dark"] .contact-method,
html[data-theme="dark"] .modal-content {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
    background: #334155;
    color: #f1f5f9;
    border-color: #475569;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus {
    border-color: #818cf8;
}

/* Dark mode toggle button */
.dark-mode-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0.5rem;
}

.dark-mode-toggle:hover {
    transform: scale(1.2);
}

/* ===== CONTENT DETAIL MODAL ===== */
.content-detail-modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.detail-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px 15px 0 0;
}

.detail-header h1 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
}

.detail-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.detail-date,
.detail-type {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.detail-content {
    padding: 2rem;
}

/* Rating Section */
.rating-section,
.share-section,
.comments-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.rating-section h3,
.share-section h3,
.comments-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.stars {
    display: flex;
    gap: 0.5rem;
}

.star {
    font-size: 2rem;
    cursor: pointer;
    color: #d1d5db;
    transition: all 0.2s ease;
}

.star:hover,
.star.active {
    color: var(--accent-color);
    transform: scale(1.2);
}

.star.filled {
    color: var(--accent-color);
}

.rating-text {
    color: var(--text-light);
    font-weight: 500;
}

/* Share Section */
.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.facebook-share:hover { border-color: #1877f2; }
.twitter-share:hover { border-color: #000000; }
.whatsapp-share:hover { border-color: #25d366; }
.linkedin-share:hover { border-color: #0a66c2; }
.email-share:hover { border-color: #ea4335; }
.copy-link:hover { border-color: #6366f1; }

html[data-theme="dark"] .share-btn {
    background: #334155;
}

html[data-theme="dark"] .share-btn:hover {
    background: var(--primary-color);
}

/* Comments Section */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-radius: 10px;
}

.comment-input {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment {
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea08, #764ba208);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    animation: slideIn 0.3s ease;
}

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

.comment-header strong {
    color: var(--primary-color);
}

.comment-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.comment-text {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.no-comments {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
    font-style: italic;
}

/* Detail Actions */
.detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.detail-actions .btn {
    flex: 1;
}

/* ===== PRINT STYLES ===== */
.print-modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.print-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--border-color);
    gap: 1rem;
}

.print-header h1 {
    margin: 0;
    flex: 1;
    color: var(--primary-color);
}

.print-preview {
    padding: 2rem;
}

.print-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

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

.print-meta {
    color: var(--text-light);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.print-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
}

.print-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Print Preview Styles */
@media print {
    body {
        background: white;
    }

    .navbar,
    .content-controls,
    .filter-controls,
    .detail-actions,
    .card-actions,
    .print-header,
    .close,
    .favorite-btn,
    .share-buttons,
    .comment-form {
        display: none !important;
    }

    .print-modal-content,
    .content-detail-modal-content {
        margin: 0;
        padding: 0;
        max-width: 100%;
        max-height: 100%;
        box-shadow: none;
        border: none;
    }

    .modal {
        position: static;
        z-index: auto;
    }

    .print-content {
        page-break-inside: avoid;
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .print-content img {
        page-break-inside: avoid;
        max-width: 100%;
    }
}

/* ===== SHARE MODAL ===== */
.share-modal-content {
    max-width: 500px;
}

.share-modal-content h2 {
    color: var(--primary-color);
    margin-top: 0;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.share-option {
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-radius: 10px;
}

.share-option h4 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.copy-link-box {
    display: flex;
    gap: 1rem;
}

.share-link-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
}

.qr-code-container {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.qr-code-container canvas {
    max-width: 200px;
}

/* ===== CARD STATS ===== */
.card-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .detail-header {
        padding: 1.5rem;
    }

    .detail-header h1 {
        font-size: 1.5rem;
    }

    .detail-meta {
        flex-direction: column;
    }

    .detail-content {
        padding: 1rem;
    }

    .share-buttons {
        justify-content: space-around;
    }

    .print-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating-section,
    .share-section,
    .comments-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

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

    .print-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .star {
        font-size: 1.5rem;
    }

    .copy-link-box {
        flex-direction: column;
    }

    .share-link-input {
        width: 100%;
    }
}
