/* Pin Up Casino Main Styles */

/* CSS Variables */
:root {
    --primary-red: #dc3545;
    --primary-green: #28a745;
    --dark-bg: #1a1a1a;
    --darker-bg: #0d1117;
    --card-bg: #2d3748;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border-color: #4a5568;
    --gradient-red: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    --gradient-green: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-login {
    background: var(--gradient-green);
    color: white;
    min-width: 100px;
}

.btn-register {
    background: var(--gradient-red);
    color: white;
    min-width: 120px;
}

.btn-hero-register {
    background: var(--gradient-red);
    color: white;
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
    margin-top: 20px;
}

.btn-bonus {
    background: var(--gradient-red);
    color: white;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.btn-bonus:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.btn-bonus .btn-arrow {
    margin-left: 8px;
    font-size: 18px;
    font-weight: 700;
}

/* Header */
.header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.new-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 900;
    color: #ff6b35;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 2px;
}

.logo-line {
    width: 100%;
    height: 3px;
    background: #00d4ff;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 212, 255, 0.3);
}

.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.5));
}

/* Анимация для SVG логотипа */
.logo svg {
    animation: slotGlow 3s ease-in-out infinite;
}

@keyframes slotGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    }
}

/* Navigation */
.main-nav {
    flex: 1;
    margin: 0 40px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    position: relative;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(13, 17, 23, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 60px 0;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.welcome-bonus {
    margin-bottom: 30px;
}

.bonus-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 20px;
    border-radius: 15px;
    border: 3px solid #ffd700;
    position: relative;
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.5);
}

.bonus-text {
    color: #4CAF50;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.bonus-amount {
    color: white;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bonus-arrows {
    position: absolute;
    bottom: -15px;
    display: flex;
    gap: 5px;
}

.arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #4CAF50;
}

.hero-logo {
    margin-bottom: 20px;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    color: #ff6b35;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    line-height: 0.9;
    margin-bottom: 5px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #f1faf2;
    background: linear-gradient(135deg, #4CAF50 0%, #20c997 100%);
    padding: 5px 15px;
    border-radius: 8px;
    display: inline-block;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-model {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* Left Sidebar */
.left-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gradient-red);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    min-width: 180px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-heavy);
}

.btn-arrow {
    font-size: 16px;
    font-weight: bold;
}

.jackpot-banner {
    background: var(--gradient-red);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-medium);
    margin-top: 20px;
}

.free-spins-banner {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    box-shadow: var(--shadow-medium);
}

/* Games Section */
.games-section {
    padding: 60px 0;
    background: var(--darker-bg);
}

.games-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.game-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.game-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    background: #1a1a1a;
}

.game-card h3 {
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Top Slots */
.top-slots {
    margin-top: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.slot-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.slot-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: #1a1a1a;
}

.slot-card h4 {
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Casino Info Section */
.casino-info {
    padding: 60px 0;
    background: var(--dark-bg);
}

.casino-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.casino-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.info-table {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.info-table table {
    width: 100%;
}

.info-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.info-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    width: 200px;
    background: rgba(255, 255, 255, 0.05);
}

.info-table td:last-child {
    color: var(--text-secondary);
}

.info-table ul {
    list-style: none;
    padding: 0;
}

.info-table li {
    padding: 2px 0;
    position: relative;
    padding-left: 20px;
}

.info-table li::before {
    content: '•';
    color: var(--primary-green);
    position: absolute;
    left: 0;
    top: 2px;
}

/* Additional Content */
.additional-content {
    padding: 60px 0;
    background: var(--darker-bg);
}

.content-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.content-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.content-section li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    position: relative;
}

.content-section li::before {
    content: '•';
    color: var(--primary-green);
    position: absolute;
    left: -20px;
    top: 0;
}

/* Betting Table Styles */
.betting-table {
    margin: 30px 0;
    overflow-x: auto;
}

.betting-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.betting-table thead {
    background: var(--gradient-red);
}

.betting-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.betting-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
}

.betting-table tr:last-child td {
    border-bottom: none;
}

.betting-table tr:hover {
    background: rgba(220, 53, 69, 0.1);
    transition: background 0.3s ease;
}

.betting-table td:first-child {
    font-weight: 700;
    color: var(--primary-red);
    font-size: 16px;
    min-width: 120px;
}

.betting-table td:last-child {
    color: var(--text-secondary);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-heavy);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 25px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--dark-bg);
    color: var(--text-primary);
    font-size: 16px;
}

.form-group input:focus {
    border-color: var(--primary-green);
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-register-submit,
.btn-login-submit {
    width: 100%;
    background: var(--gradient-red);
    color: white;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 10px;
}

.forgot-password {
    display: block;
    text-align: center;
    color: var(--primary-green);
    font-size: 14px;
    margin-top: 15px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(76, 175, 80, 0.6);
    }
}

.bonus-badge {
    animation: glow 2s infinite;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    margin: 0;
    font-weight: 400;
}