/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --accent-primary: #00ff7f;
    --accent-secondary: #4ecdc4;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-dim: #888888;
    --border-color: #333333;
    --warning-bg: #ff4444;
    --warning-text: #ffffff;
    --shadow-light: rgba(0, 255, 127, 0.1);
    --shadow-medium: rgba(0, 255, 127, 0.2);
    --shadow-heavy: rgba(0, 255, 127, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #0f0f0f 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-medium);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Warning Banner */
.warning {
    background: var(--warning-bg);
    color: var(--warning-text);
    padding: 1rem 2rem;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Section Styles */
.section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-secondary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Rating Styles */
.rating {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.stars {
    color: #ffd700;
    margin-right: 1rem;
    font-size: 1.3rem;
}

/* Screenshot Styles */
.screenshot, .guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 1.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.screenshot:hover, .guide-image:hover {
    transform: scale(1.02);
}

/* List Styles */
ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Pros and Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pros, .cons {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.pros h3 {
    color: var(--accent-primary);
}

.cons h3 {
    color: #ff6b6b;
}

/* Table Styles */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
}

.stats-table th,
.stats-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.stats-table th {
    background: var(--accent-primary);
    color: #000;
    font-weight: 600;
}

.stats-table tr:hover {
    background: rgba(0, 255, 127, 0.05);
}

/* Security Guide */
.security-guide {
    margin: 2rem 0;
}

.step {
    background: var(--bg-tertiary);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-primary);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
}

.step h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

/* News Items */
.news-item {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-light);
}

.news-item h3 {
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
}

.news-item p:first-of-type {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* FAQ Styles */
.faq-item {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.faq-item h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    cursor: pointer;
}

/* Copy Button Styles */
.portal-link-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.portal-link-input {
    width: 100%;
    max-width: 600px;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    text-align: center;
    transition: all 0.3s ease;
}

.portal-link-input:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.2);
}

.portal-link-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 255, 127, 0.3);
}

.copy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.4);
    position: relative;
    overflow: hidden;
    max-width: 250px;
}

.copy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.copy-button:hover::before {
    left: 100%;
}

.copy-button:hover {
    background: linear-gradient(135deg, #00e070 0%, #3eb8af 100%);
    box-shadow: 0 6px 25px rgba(0, 255, 127, 0.5);
    transform: translateY(-2px);
}

.copy-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 255, 127, 0.3);
}

.copy-button.copied {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #ffffff;
}

.copy-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.copy-text {
    font-size: 1rem;
    font-weight: 700;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .logo {
        max-width: 250px;
    }
    
    .section {
        padding: 1.5rem;
    }
    
    .stats-table {
        font-size: 0.9rem;
    }
    
    .stats-table th,
    .stats-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 1rem;
    }

    .logo {
        max-width: 200px;
    }

    .portal-link-input {
        font-size: 0.9rem;
        padding: 0.875rem 1rem;
    }

    .copy-button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .section {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .warning {
        background: #f0f0f0;
        color: black;
    }
}
