/*
Theme Name: Feed Planner Pro
Theme URI: https://example.com/feedplaner
Author: Your Name
Author URI: https://example.com
Description: Instagram Feed Planner Theme - Plan and preview your Instagram posts
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: feedplaner
Domain Path: /languages
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #fafafa;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

/* Rasio Instagram 4:5 */
.aspect-instagram {
    aspect-ratio: 4 / 5;
}

/* Rasio TikTok 3:4 - Grid Profile */
.aspect-tiktok {
    aspect-ratio: 3 / 4;
}

/* TikTok Specific Animations */
@keyframes tiktok-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-tiktok-spin {
    animation: tiktok-spin 3s linear infinite;
}

/* TikTok UI Enhancements */
.tiktok-overlay-gradient {
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 100%);
}

.tiktok-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 16px;
    color: white;
}

.tiktok-action-btn i {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.animate-marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

@media (min-width: 768px) {
    .instagram-grid {
        gap: 2px;
    }
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

[contenteditable="true"]:hover {
    background-color: #f1f5f9;
    cursor: pointer;
}

[contenteditable="true"]:focus {
    background-color: #f1f5f9;
    outline: none;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

/* WordPress compatibility */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #0ea5e9;
    color: white;
}

.btn-primary:hover {
    background-color: #0284c7;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #1e293b;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

/* Restricted Access Styles */
.restricted-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.restricted-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    animation: pulse-slow 15s infinite alternate;
    pointer-events: none;
}

@keyframes pulse-slow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glow-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.pin-input-modern {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.pin-input-modern:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3) !important;
}

.lock-glow {
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
    animation: lock-bob 3s ease-in-out infinite;
}

@keyframes lock-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.btn-premium {
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
    color: white !important;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-premium:hover::after {
    left: 100%;
}

.btn-premium:hover {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}
