/* GoSpinny - Clean Modern Styles */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-light: #334155;
    --text-white: #f1f5f9;
    --text-gray: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #334155;
    --radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2332 100%);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
    animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Buttons */
button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-white);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}

.btn-upgrade {
    background: linear-gradient(135deg, var(--warning), var(--accent));
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.btn-icon {
    background: transparent;
    color: var(--text-gray);
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 1.3rem;
}

.btn-icon:hover {
    background: var(--bg-light);
    color: var(--text-white);
}

.btn-text {
    background: transparent;
    color: var(--primary);
    padding: 0.5rem;
    font-size: 0.9rem;
}

.btn-text:hover {
    color: var(--secondary);
}

.btn-add {
    background: var(--success);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
}

.btn-add:hover {
    background: #059669;
    transform: rotate(90deg);
}

.btn-premium {
    width: 100%;
    background: linear-gradient(135deg, var(--warning), var(--accent));
    color: white;
    padding: 1rem;
    border-radius: var(--radius);
    font-weight: 700;
}

.btn-premium:hover {
    transform: translateY(-2px);
}

/* Main Layout */
.main-wrapper {
    flex: 1;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Settings Panel */
.settings-panel {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.settings-panel::-webkit-scrollbar {
    width: 6px;
}

.settings-panel::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.panel-header h2 {
    font-size: 1.2rem;
}

.settings-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.settings-section:last-child {
    border: none;
    margin-bottom: 0;
}

.settings-section h3 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* Templates */
.template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.template-btn {
    background: var(--bg-light);
    color: var(--text-white);
    padding: 0.75rem;
    border-radius: 8px;
    border: 2px solid transparent;
    font-size: 0.85rem;
}

.template-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    transform: translateY(-2px);
}

/* Add Item Form */
.add-item-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#itemInput {
    flex: 1;
    background: var(--bg-light);
    border: 2px solid var(--border);
    color: var(--text-white);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

#itemInput:focus {
    outline: none;
    border-color: var(--primary);
}

#itemInput::placeholder {
    color: var(--text-muted);
}

/* Items List */
.items-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 0.5rem;
}

.items-list::-webkit-scrollbar {
    width: 4px;
}

.items-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.item-entry {
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.item-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}

.item-text {
    flex: 1;
    font-size: 0.9rem;
}

.item-delete {
    background: transparent;
    color: var(--danger);
    font-size: 1.2rem;
    padding: 0 0.5rem;
}

.item-delete:hover {
    background: var(--danger);
    color: white;
    border-radius: 4px;
}

.item-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.empty-message {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

/* Settings Rows */
.setting-row {
    margin-bottom: 1.25rem;
}

.setting-row:last-child {
    margin-bottom: 0;
}

.setting-row > label:first-child {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.value-label {
    display: block;
    margin-top: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.select-box {
    width: 100%;
    background: var(--bg-light);
    border: 2px solid var(--border);
    color: var(--text-white);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.select-box:focus {
    outline: none;
    border-color: var(--primary);
}

.checkbox-wrapper {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-wrapper input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

/* Premium Box */
.premium-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.premium-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.premium-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.small-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* Wheel Container */
.wheel-container {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
}

.wheel-section {
    margin-bottom: 2rem;
}

.wheel-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wheel-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.wheel-pointer {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: -15px;
    z-index: 10;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.wheel-frame {
    position: relative;
    display: inline-block;
}

#wheelCanvas {
    display: block;
    border-radius: 50%;
    box-shadow: 
        0 0 0 8px var(--bg-light),
        0 0 0 10px var(--border),
        0 10px 30px rgba(0, 0, 0, 0.5);
}

#wheelCanvas.spinning {
    box-shadow: 
        0 0 0 8px var(--bg-light),
        0 0 0 10px var(--primary),
        0 0 40px rgba(99, 102, 241, 0.6);
}

.spin-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border: 5px solid var(--bg-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 20;
}

.spin-btn:hover:not(:disabled) {
    transform: translate(-50%, -50%) scale(1.1);
}

.spin-btn:active:not(:disabled) {
    transform: translate(-50%, -50%) scale(0.95);
}

.spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Result Box */
.result-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(99, 102, 241, 0.1));
    border: 2px solid var(--success);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
    pointer-events: none;
}

.result-box.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
    animation: pop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes pop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.result-label {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* Ad Space */
.ad-space {
    background: var(--bg-light);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.ad-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.ad-placeholder {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* History */
.history-section {
    margin-top: 2rem;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.history-header h3 {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.history-items {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.history-items::-webkit-scrollbar {
    width: 6px;
}

.history-items::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid var(--primary);
}

.history-item:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 2rem;
    margin-top: auto;
}

.footer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Confetti */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
}

.modal-box {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border);
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
}

.modal-large {
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-light);
    color: var(--text-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
}

.modal-close:hover {
    background: var(--danger);
    transform: rotate(90deg);
}

.modal-box h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-box p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Share Buttons */
.share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.share-btn {
    padding: 1rem;
    border-radius: var(--radius);
    color: white;
    font-weight: 600;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.facebook {
    background: #4267B2;
}

.share-btn.linkedin {
    background: #0077B5;
}

.share-btn.copy {
    background: var(--success);
    grid-column: 1 / -1;
}

.share-btn:hover {
    transform: translateY(-2px);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.price-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    position: relative;
}

.price-card.featured {
    border-color: var(--warning);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--warning);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.price-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.price-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.price-card li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.price-card button {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .settings-panel {
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .header-content {
        flex-direction: column;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
    }
    
    .nav button {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .main-container {
        padding: 1rem;
    }
    
    .wheel-container {
        padding: 1rem;
    }
    
    .wheel-title {
        font-size: 1.5rem;
    }
    
    #wheelCanvas {
        width: 280px !important;
        height: 280px !important;
    }
    
    .spin-btn {
        width: 70px;
        height: 70px;
        font-size: 0.9rem;
    }
    
    .result-value {
        font-size: 2rem;
    }
    
    .pricing-grid,
    .share-grid {
        grid-template-columns: 1fr;
    }
    
    .template-grid {
        grid-template-columns: 1fr;
    }
}

/* Add to existing styles.css */

/* Template Scroll Container */
.template-scroll {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.template-scroll::-webkit-scrollbar {
    width: 6px;
}

.template-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.template-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-light);
    color: var(--text-white);
    padding: 0.75rem;
    border-radius: 8px;
    border: 2px solid transparent;
    text-align: left;
    transition: all 0.3s;
}

.template-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    transform: translateX(5px);
}

.template-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.template-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.hint-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-style: italic;
}

/* Toast notification */
.toast-notification {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Add these to your existing styles.css */

/* Share Link Box */
.share-link-box {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.share-link-input {
    flex: 1;
    background: var(--bg-light);
    border: 2px solid var(--border);
    color: var(--text-white);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: monospace;
}

.share-link-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* QR Code Section */
.qr-section {
    margin: 2rem 0;
    text-align: center;
}

.qr-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.qr-code-container {
    display: inline-block;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.qr-code-container canvas {
    display: block !important;
}

/* Social Share Section */
.social-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.social-share h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.email {
    background: #EA4335;
}

/* ============================================
   MOBILE LAYOUT FIX - WHEEL SHOWS FIRST
   ============================================ */

@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        /* Reverse order on mobile - wheel first */
        display: flex;
        flex-direction: column-reverse;
    }
    
    .settings-panel {
        position: static;
        max-height: none;
        order: 2; /* Settings panel shows second */
    }
    
    .wheel-container {
        order: 1; /* Wheel shows first */
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .nav button {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .wheel-title {
        font-size: 1.5rem;
    }
    
    #wheelCanvas {
        width: 280px !important;
        height: 280px !important;
    }
    
    .spin-btn {
        width: 70px;
        height: 70px;
        font-size: 0.9rem;
    }
    
    .result-value {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .nav button {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    #wheelCanvas {
        width: 250px !important;
        height: 250px !important;
    }
    
    .spin-btn {
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }
}

/* ============================================
   MOBILE LAYOUT FIX - WHEEL FIRST ON MOBILE ONLY
   ============================================ */

@media (max-width: 1024px) {
    .main-container {
        /* Change from grid to flexbox on mobile */
        display: flex;
        flex-direction: column;
        grid-template-columns: none; /* Disable grid */
    }
    
    /* Wheel container shows FIRST on mobile */
    .wheel-container {
        order: 1;
        width: 100%;
    }
    
    /* Settings panel shows SECOND on mobile */
    .settings-panel {
        order: 2;
        width: 100%;
        position: static;
        max-height: none;
    }
}

/* Keep desktop layout as-is above 1024px */
@media (min-width: 1025px) {
    .main-container {
        display: grid;
        grid-template-columns: 320px 1fr;
        gap: 2rem;
    }
    
    .wheel-container {
        order: initial;
    }
    
    .settings-panel {
        order: initial;
    }
}


/* Additional Share Button Styles */
.share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.share-btn {
    padding: 1rem;
    border-radius: var(--radius);
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #4267B2, #365899);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #1ebd56);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077B5, #005885);
}

.share-btn.email {
    background: linear-gradient(135deg, #EA4335, #c1351e);
}

.share-btn.reddit {
    background: linear-gradient(135deg, #FF4500, #d63b00);
}

.share-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #006ba3);
}

.share-btn.pinterest {
    background: linear-gradient(135deg, #E60023, #bd001c);
}

@media (max-width: 480px) {
    .share-grid {
        grid-template-columns: 1fr;
    }
}

/* Share Link Box */
.share-link-box {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.share-link-input {
    flex: 1;
    background: var(--bg-light);
    border: 2px solid var(--border);
    color: var(--text-white);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: monospace;
}

.share-link-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* QR Code Section */
.qr-section {
    margin: 2rem 0;
    text-align: center;
}

.qr-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.qr-code-container {
    display: inline-block;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.qr-code-container canvas {
    display: block !important;
}

/* Social Share Section */
.social-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.social-share h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.share-btn {
    padding: 1rem;
    border-radius: var(--radius);
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #4267B2, #365899);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #1ebd56);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077B5, #005885);
}

.share-btn.email {
    background: linear-gradient(135deg, #EA4335, #c1351e);
}

.share-btn.reddit {
    background: linear-gradient(135deg, #FF4500, #d63b00);
}

.share-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #006ba3);
}

.share-btn.pinterest {
    background: linear-gradient(135deg, #E60023, #bd001c);
}

@media (max-width: 480px) {
    .share-grid {
        grid-template-columns: 1fr;
    }
}