/* Estilos para o site LTCKingHub */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --secondary-color: #27ae60;
  --secondary-dark: #229954;
  --danger-color: #e74c3c;
  --danger-dark: #c0392b;
  --background-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --container-bg: rgba(255, 255, 255, 0.95);
  --text-color: #333;
  --header-bg: rgba(44, 62, 80, 0.9);
  --shadow: rgba(0,0,0,0.2);
  --border-radius: 15px;
  --transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    --container-bg: rgba(44, 62, 80, 0.95);
    --text-color: #ecf0f1;
    --header-bg: rgba(52, 73, 94, 0.9);
    --shadow: rgba(0,0,0,0.4);
  }
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background-gradient);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    animation: fadeIn 1s ease-in;
    will-change: opacity;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

header, footer {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 15px var(--shadow);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background: var(--container-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container:hover {
    transform: translateY(-5px);
}

h1, h2 {
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #27ae60);
    margin: 10px auto;
    border-radius: 2px;
}

.balance {
    font-size: 32px;
    margin: 30px 0;
    color: var(--secondary-color);
    font-weight: 700;
    text-align: center;
    animation: pulse 2s infinite;
    will-change: transform;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.faucet, .games, .history, .support {
    margin: 30px 0;
    padding: 25px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faucet:hover, .games:hover, .history:hover, .support:hover {
    border-color: #3498db;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}

button, .btn {
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

button:hover, .btn:hover {
    background: linear-gradient(45deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.approve {
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-dark));
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.approve:hover {
    background: linear-gradient(45deg, var(--secondary-dark), #1e8449);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.reject {
    background: linear-gradient(45deg, var(--danger-color), var(--danger-dark));
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.reject:hover {
    background: linear-gradient(45deg, var(--danger-dark), #a93226);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

th, td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
    transition: background 0.3s ease;
}

th {
    background: linear-gradient(45deg, #34495e, #2c3e50);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

tr:nth-child(even) {
    background: #f8f9fa;
}

tr:hover {
    background: rgba(52, 152, 219, 0.1);
}

form {
    margin-bottom: 30px;
    background: rgba(255,255,255,0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

button:focus, .btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.message {
    padding: 20px;
    background: linear-gradient(45deg, #d4edda, #a8d5ba);
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 10px;
    margin-bottom: 25px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.error {
    background: linear-gradient(45deg, #f8d7da, #f1aeb5);
    color: #721c24;
    border-color: #f5c6cb;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsivo avançado e completo */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 90%;
        padding: 20px;
    }
    h1 {
        font-size: 28px;
    }
    .balance {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    header, footer {
        padding: 15px 10px;
        text-align: center;
    }
    .container {
        max-width: 100%;
        padding: 15px;
        margin: 10px 0;
        border-radius: 10px;
    }
    h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .balance {
        font-size: 22px;
        text-align: center;
        margin: 20px 0;
    }
    .faucet, .games, .history {
        padding: 15px;
        margin: 15px 0;
    }
    table {
        font-size: 14px;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    th, td {
        padding: 8px 5px;
        min-width: 80px;
    }
    button, .btn {
        padding: 10px 15px;
        font-size: 14px;
        width: 100%;
        margin-bottom: 10px;
    }
    form {
        padding: 15px;
    }
    input, select, textarea {
        font-size: 16px; /* Previne zoom no iOS */
        padding: 10px;
        margin-bottom: 12px;
    }
    label {
        font-size: 14px;
    }
    .message {
        padding: 15px;
        font-size: 14px;
    }
    iframe {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 10px;
    }
    h1 {
        font-size: 22px;
    }
    h2 {
        font-size: 18px;
    }
    .balance {
        font-size: 20px;
    }
    .faucet, .games, .history {
        padding: 10px;
    }
    table th, table td {
        padding: 6px 3px;
        font-size: 12px;
    }
    button, .btn {
        padding: 12px;
        font-size: 16px;
    }
    input, select, textarea {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    header, footer {
        padding: 10px;
    }
    .container {
        margin: 5px 0;
        padding: 10px;
    }
    h1 {
        font-size: 20px;
    }
    h2 {
        font-size: 16px;
    }
    .balance {
        font-size: 18px;
        margin: 15px 0;
    }
    .faucet, .games, .history {
        padding: 10px;
        margin: 10px 0;
    }
    table {
        font-size: 11px;
    }
    th, td {
        padding: 5px 2px;
    }
    button, .btn {
        padding: 10px;
        font-size: 14px;
    }
    input, select, textarea {
        padding: 10px;
        font-size: 14px;
    }
    .message {
        padding: 10px;
        font-size: 13px;
    }
    iframe {
        height: 300px;
    }
    ul {
        padding-left: 20px;
    }
    li {
        font-size: 14px;
        margin-bottom: 5px;
    }
}

/* Orientação paisagem para dispositivos móveis */
@media (max-width: 768px) and (orientation: landscape) {
    .container {
        padding: 10px;
    }
    .balance {
        font-size: 18px;
    }
    table {
        font-size: 12px;
    }
}

/* Ajustes para touch devices */
@media (hover: none) and (pointer: coarse) {
    button, .btn {
        min-height: 44px; /* Tamanho mínimo para toque */
    }
    a {
        min-height: 44px;
        display: inline-block;
        padding: 10px;
    }
}

/* Classe para elementos ocultos de monetização */
.hidden-monetag {
    display: none !important;
    visibility: hidden !important;
}

/* Impressão */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    .container {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    button, .btn {
        display: none;
    }
}