@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700&family=Dancing+Script:wght@700&display=swap');

body {
    font-family: 'Exo 2', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="scale(1.5) rotate(30)"><path d="M5 0L0 2.5L0 7.5L5 10L10 7.5L10 2.5Z" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect x="0" y="0" width="100%" height="100%" fill="url(%23hexagons)"/></svg>');
    background-size: 50px 50px;
}

/* --- Header & Navigation --- */
.header {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-top-bar {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* --- Google Translate Styling --- */
#google_translate_element {
    margin-right: 15px;
}

.goog-te-gadget-simple {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid #444 !important;
    border-radius: 20px !important;
    padding: 8px 15px !important;
    font-size: 0.9em !important;
}

.goog-te-gadget-simple span {
    color: #ccc !important;
}

.goog-te-gadget-simple:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: #00bfff !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

/* --- Typography --- */
.header h1 {
    font-size: 2.2em;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: none !important;
}

.header h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5em;
    color: #fff;
    text-transform: none !important;
    margin: 0;
    letter-spacing: 1px;
}

.header p {
    font-size: 1.1em;
    color: #bbb;
    margin-top: 10px;
    font-style: italic;
}

/* --- Main Content --- */
.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px 20px 0;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Contact Page Specifics --- */
.main-content-contact {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    width: 100%;
}

.contact-card {
    background-color: #2b2b2b;
    border: 1px solid #444;
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    border-radius: 8px;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 1em;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
}

/* --- Cards --- */
.section-card {
    background-color: #2b2b2b;
    border: 1px solid #444;
    border-radius: 15px;
    padding: 25px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.section-card h3 {
    font-size: 1.6em;
    color: #00bfff;
    margin: 0;
    text-transform: none !important;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
}

.skills-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.skill-column {
    flex: 1;
}

.skill-column .category {
    font-weight: bold;
    color: #fff;
    font-size: 1.1em;
    margin-bottom: 10px;
}

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

.skills-list li {
    font-size: 1.05em;
    color: #ccc;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.skills-list li:hover {
    color: #fff;
}

.section-card p {
    font-size: 1.1em;
    color: #ccc;
    line-height: 1.6;
}

.name-signature {
    font-family: 'Dancing Script', cursive;
    color: #00bfff;
    font-size: 1.5em;
}

/* --- Opportunities --- */
.opportunities-section {
    padding: 40px 20px;
    width: 100%;
}

.section-title {
    font-size: 2em;
    color: #fff;
    text-transform: none !important;
    letter-spacing: 1px;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #00bfff;
    margin: 10px auto 0;
    border-radius: 2px;
}

.opportunities-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-offer, .job-offer, .casting-offer {
    background-color: #2b2b2b;
    padding: 25px;
    border-radius: 12px;
    margin-top: 0;
    width: 100%;
    max-width: 350px;
    text-align: left;
    font-size: 1em;
    border: 1px solid #444;
    transition: transform 0.3s ease;
}

.project-offer:hover, .job-offer:hover, .casting-offer:hover {
    transform: translateY(-5px);
}

.project-offer { border-left: 4px solid #8e44ad; }
.job-offer { border-left: 4px solid #007bff; }
.casting-offer { border-left: 4px solid #28a745; }

/* --- Footer --- */
.footer {
    padding: 30px 20px;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    margin-top: auto;
}

.footer p {
    font-size: 1.1em;
    color: #bbb;
    margin-bottom: 20px;
}

.location-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #bbb;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.location-link:hover { color: #fff; }
.location-link i { margin-right: 8px; color: #00bfff; }

.footer-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.btn-blue {
    background: linear-gradient(45deg, #007bff, #00bfff);
    color: #fff;
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.btn-kofi {
    background: linear-gradient(45deg, #FF5E5B, #ff8c42);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-kofi:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 94, 91, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ccc;
    border: 2px solid #555;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: #00bfff;
    color: #00bfff;
}

.btn-round {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* --- VORTEX BUTTON STYLE --- */
.vortex-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Réduit l'espace */
    background: linear-gradient(135deg, #00bfff 0%, #00ff88 100%);
    padding: 15px 30px; /* Réduit le padding */
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 1.1em; /* Réduit légèrement la police */
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.6);
    transition: all 0.3s ease;
    border: 2px solid #fff;
    text-align: center;
    max-width: 90%; /* Empêche de déborder sur mobile */
    margin: 0 auto; /* Centre le bouton */
}

.vortex-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.8);
}

.vortex-icon {
    font-size: 2em;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- QR Generator Section --- */
.qr-generator-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.qr-contact-cta {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #2b2b2b 0%, #1f1f1f 100%);
    border-radius: 20px;
    border: 1px solid #444;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-contact-qr {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 1.2em;
    padding: 15px 40px;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4);
}

.qr-tagline {
    font-size: 1.1em;
    color: #00bfff;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

.qr-hero {
    text-align: center;
    margin-bottom: 40px;
}

.qr-hero .section-title {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00bfff, #8e44ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: none !important;
}

.qr-description {
    font-size: 1.2em;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Workflow Steps --- */
.qr-workflow {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.workflow-step {
    background: linear-gradient(135deg, #2b2b2b 0%, #333 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #00bfff, #8e44ad);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.step-header h4 {
    color: #fff;
    font-size: 1.4em;
    margin: 0;
    font-weight: 600;
}

/* --- Type Selector --- */
.type-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px auto;
    max-width: 1000px;
}

.type-card {
    width: 200px;
    background: rgba(36, 36, 36, 0.9);
    padding: 25px;
    border-radius: 20px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    text-align: center;
}

.type-card:hover { 
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.3);
}

.type-card.active { 
    border-color: #00bfff; 
    background: rgba(0, 191, 255, 0.1); 
}

.type-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.type-card h3 { 
    margin: 10px 0 5px; 
    font-size: 1.2em; 
    color: #fff;
}

.type-card p { 
    font-size: 0.85em; 
    color: #888; 
    margin: 0; 
}

/* Templates rapides */
.template-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.template-btn {
    background: linear-gradient(135deg, #2b2b2b 0%, #333 100%);
    border: 2px solid #555;
    border-radius: 8px;
    padding: 10px 15px;
    color: #fff;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 100px;
}

.template-btn:hover {
    border-color: #00bfff;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    transform: translateY(-2px);
}

.template-btn.active {
    background: linear-gradient(45deg, #00bfff, #007bff);
    border-color: #00bfff;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
}

/* --- Input avec bouton emoji --- */
.input-with-emoji {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative; /* Pour positionner le popup */
}

.emoji-btn {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    border-radius: 8px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Empêche le bouton de rétrécir */
}

.emoji-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* --- Popup sélecteur d'emojis --- */
.emoji-popup {
    position: absolute;
    background: #2b2b2b;
    border: 2px solid #00bfff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.3);
    z-index: 1000;
    max-width: 300px;
    display: none;
}

.emoji-popup.show {
    display: block;
}

.emoji-categories {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 15px;
}

.emoji-category-btn {
    background: #444;
    color: #ccc;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.emoji-category-btn.active,
.emoji-category-btn:hover {
    background: #00bfff;
    color: white;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.emoji-item {
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
}

.emoji-item:hover {
    background: #00bfff;
    border-color: #00bfff;
    transform: scale(1.1);
}

/* --- Configuration Panels --- */
.config-panel {
    display: none;
}

.config-group {
    margin-bottom: 20px;
}

.config-label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.config-input,
.config-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #555;
    border-radius: 8px;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 1em;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.config-input:focus,
.config-select:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
}

.config-color {
    width: 60px;
    height: 50px;
    padding: 5px;
    border: 2px solid #555;
    border-radius: 8px;
    cursor: pointer;
}

.config-file {
    padding: 10px;
    border: 2px solid #555;
    border-radius: 8px;
    background-color: #1a1a1a;
    color: #fff;
    width: 100%;
}

.config-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.config-row .config-group {
    flex: 1;
    min-width: 150px;
}

/* --- Preview Area --- */
.preview-container {
    text-align: center;
}

.preview-area {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
    border-radius: 15px;
    border: 2px dashed #555;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.preview-placeholder {
    text-align: center;
    color: #888;
}

.preview-placeholder .placeholder-icon {
    font-size: 4em;
    margin-bottom: 15px;
    display: block;
}

.preview-area canvas {
    max-width: 100%;
    max-height: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-area canvas:hover {
    transform: scale(1.02);
}

/* --- Action Buttons --- */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, #00bfff, #007bff);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-secondary {
    background: transparent;
    color: #ccc;
    border: 2px solid #555;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #00bfff;
    color: #00bfff;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-download {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* --- Statistics Compact --- */
.stats-compact {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stats-item {
    text-align: center;
    background: linear-gradient(135deg, #2b2b2b 0%, #333 100%);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #444;
    min-width: 100px;
}

.stats-number {
    font-size: 2em;
    font-weight: bold;
    color: #00bfff;
    display: block;
}

.stats-label {
    font-size: 0.9em;
    color: #ccc;
    margin-top: 5px;
}

/* Interrupteur de Tracking (Nouveau Design) */
.option-toggle {
    background: rgba(0, 191, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    border: 1px dashed #00bfff;
    margin: 20px 0;
    transition: 0.3s;
}

.option-toggle:hover {
    background: rgba(0, 191, 255, 0.15);
}

.switch-label { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    cursor: pointer; 
    font-weight: bold; 
    color: #00bfff;
    font-size: 0.95em;
}

.switch-label i { font-size: 1.2em; }

/* Styles spécifiques pour le mode Business */
body.business-mode .name {
    color: #ff4757;
    text-shadow: 0 0 15px rgba(255, 71, 87, 0.5);
}

body.business-mode .btn-primary {
    background: #ff4757;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #2b2b2b;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #444;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #fff;
}

/* Badge V3 Analytics */
.badge-v3 {
    background: linear-gradient(45deg, #00bfff, #8e44ad);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.45em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
    margin-left: 10px;
    vertical-align: middle;
}

/* --- VORTEX BUTTON STYLE --- */
.vortex-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #00bfff 0%, #00ff88 100%);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.6);
    transition: all 0.3s ease;
    border: 2px solid #fff;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
}

.vortex-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.8);
}

.vortex-icon {
    font-size: 2em;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Ko-fi Button Fix --- */
.btn-kofi-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #FF5E5B, #ff8c42);
    color: white !important; /* Force la couleur blanche */
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 94, 91, 0.3);
}

.btn-kofi-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 94, 91, 0.4);
    color: white !important;
    text-decoration: none;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .qr-hero .section-title {
        font-size: 2em;
    }

    .type-selector {
        gap: 15px;
    }

    .type-card {
        width: 150px;
        padding: 20px;
    }

    .config-row {
        flex-direction: column;
    }

    .config-row .config-group {
        width: 100%;
    }

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

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

    .stats-compact {
        gap: 15px;
    }

    .stats-item {
        min-width: 80px;
        padding: 15px;
    }

    .template-buttons {
        flex-direction: column;
    }

    .template-btn {
        min-width: 100%;
    }

    .modal-content {
        margin: 20% auto;
        padding: 20px;
        width: 95%;
    }

    .modal-content h3 {
        font-size: 1.3em;
    }

    .emoji-popup {
        max-width: 280px;
        padding: 12px;
    }

    .emoji-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }

    .emoji-item {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}
