/* Custom CSS for Official Links Page */

/* Root Variables */
:root {
    --primary-color: #2563eb;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --free-color: #10b981;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Official Links Container */
.official-links-container {
    min-height: 100vh;
    padding-bottom: 2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    color: white !important;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fbbf24;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white !important;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: white !important;
}

/* Section Styling */
.official-links-section {
    padding: 4rem 0;
    background-color: white;
    color: var(--gray-700);
}

.scam-warning-section {
    padding: 4rem 0;
    background-color: var(--gray-100);
    color: var(--gray-700);
}

.security-tips-section {
    padding: 4rem 0;
    background-color: white;
    color: var(--gray-700);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color) !important;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600) !important;
    margin-bottom: 0;
}

/* Official Link Cards */
.official-link-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.official-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--success-color);
}

.official-link-card .card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--success-color) 0%, #047857 100%);
    color: white;
    text-align: center;
    position: relative;
}

.platform-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.platform-icon.youtube { color: #ff0000; }
.platform-icon.telegram { color: #0088cc; }
.platform-icon.facebook { color: #1877f2; }
.platform-icon.whatsapp { color: #25d366; }
.platform-icon.linkedin { color: #0077b5; }
.platform-icon.github { color: #333; }
.platform-icon.instagram { color: #e4405f; }
.platform-icon.tiktok { color: #000; }
.platform-icon.twitter { color: #1da1f2; }

.official-link-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white !important;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white !important;
}

.verified-badge i {
    margin-right: 0.25rem;
}

.official-link-card .card-body {
    padding: 1.5rem;
    text-align: center;
    color: var(--gray-700) !important;
}

.platform-description {
    color: var(--gray-600) !important;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-official {
    background: linear-gradient(135deg, var(--success-color) 0%, #047857 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-official:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(5, 150, 105, 0.3);
}

.link-preview {
    background: var(--gray-100);
    padding: 0.5rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
}

.link-preview small {
    color: var(--gray-600) !important;
    word-break: break-all;
}

/* Free Service Pricing */
.service-pricing .price.free {
    background: linear-gradient(135deg, var(--free-color) 0%, #059669 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.service-pricing .price.free::before {
    content: "🎉 ";
    margin-right: 0.5rem;
}

/* Warning Card */
.warning-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border: 2px solid var(--warning-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
}

.warning-header {
    background: linear-gradient(135deg, var(--danger-color) 0%, #b91c1c 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.warning-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #fbbf24;
    animation: pulse 2s infinite;
}

.warning-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.warning-content {
    padding: 2rem;
    color: #1f2937;
}

.warning-points {
    margin-bottom: 1.5rem;
}

.warning-point {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #1f2937;
    font-weight: 500;
}

.warning-point strong {
    color: #1f2937;
    font-weight: 700;
}

.report-scam-box {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 2px solid var(--danger-color);
    color: #1f2937;
}

.report-scam-box h5 {
    color: var(--danger-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.report-scam-box p {
    color: #1f2937;
    font-weight: 500;
}

.report-scam-box small {
    color: #1f2937;
    font-weight: 500;
}

.btn-report {
    background: linear-gradient(135deg, var(--danger-color) 0%, #b91c1c 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.btn-report:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

/* Security Tips Cards */
.tip-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.tip-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.tip-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tip-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tip-card p {
    color: var(--gray-600);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Footer Styling */
.footer {
    background-color: #1f2937 !important;
    background: #1f2937 !important;
    border-top: 4px solid var(--primary-color);
    color: #f8fafc !important;
}

.footer h5, .footer h6 {
    color: white !important;
}

.footer .text-muted {
    color: #9ca3af !important;
}

.footer .text-muted:hover {
    color: white !important;
}

.footer .alert-warning {
    background-color: rgba(251, 191, 36, 0.15) !important;
    border-color: var(--warning-color);
    border-radius: 8px;
    color: #1f2937 !important;
}

.footer .alert-warning a {
    color: #1f2937 !important;
    text-decoration: none;
}

.footer .alert-warning a:hover {
    color: #374151 !important;
    text-decoration: underline;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .official-link-card .card-header,
    .official-link-card .card-body {
        padding: 1rem;
    }
    
    .warning-content {
        padding: 1rem;
    }
    
    .warning-point {
        font-size: 1rem;
    }
    
    .tip-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-icon {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .official-links-section,
    .scam-warning-section,
    .security-tips-section {
        padding: 3rem 0;
    }
}

/* Accessibility Improvements */
.btn:focus,
.btn-official:focus,
.btn-report:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .btn {
        display: none;
    }
    
    .warning-card {
        border: 2px solid black;
    }
}
