/* ==========================================
   Premium Lotto Number Generator Stylesheet
   ========================================== */

/* Modern Color Variables & Design Tokens */
:root {
    --bg-color: #080c14;
    --card-bg: rgba(13, 20, 35, 0.65);
    --sidebar-bg: rgba(8, 12, 22, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Brand Accents */
    --accent-standard: #3b82f6;
    --accent-standard-glow: rgba(59, 130, 246, 0.35);
    --accent-powerball: #ef4444;
    --accent-powerball-glow: rgba(239, 68, 68, 0.35);
    --accent-megamillions: #f59e0b;
    --accent-megamillions-glow: rgba(245, 158, 11, 0.35);
    --accent-euromillions: #10b981;
    --accent-euromillions-glow: rgba(16, 185, 129, 0.35);
    --accent-custom: #8b5cf6;
    --accent-custom-glow: rgba(139, 92, 246, 0.35);

    /* Text System */
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Layout */
    --sidebar-width: 320px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    position: relative;
}

/* Subtle overlay grid for modern tech vibe */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 70%, transparent 100%);
}

/* Subtle background glow effect */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: 30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* App Layout Grid */
.app-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ==========================================
   Sidebar: Draw History
   ========================================== */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-shrink: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.sidebar-header h2 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.sidebar-header h2 i {
    color: var(--accent-standard);
}

#clear-history-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#clear-history-btn:hover {
    color: var(--accent-powerball);
    background-color: rgba(239, 68, 68, 0.1);
}

.history-list {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
}

/* History scrollbar custom styling */
.history-list::-webkit-scrollbar {
    width: 4px;
}

.history-list::-webkit-scrollbar-track {
    background: transparent;
}

.history-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.history-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.empty-history {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

/* History Card */
.history-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.history-card:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.history-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.history-card-type {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-card-time {
    color: var(--text-muted);
}

.history-card-balls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.history-ball {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #2563eb;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.3);
}

.history-ball.bonus {
    background: #eab308;
}

.history-ball.power {
    background: #ef4444;
}

.history-ball.star {
    background: #10b981;
}

/* Type markers */
.history-card.standard { border-left: 3px solid var(--accent-standard); }
.history-card.standard .history-card-type { color: var(--accent-standard); }

.history-card.powerball { border-left: 3px solid var(--accent-powerball); }
.history-card.powerball .history-card-type { color: var(--accent-powerball); }

.history-card.megamillions { border-left: 3px solid var(--accent-megamillions); }
.history-card.megamillions .history-card-type { color: var(--accent-megamillions); }

.history-card.euromillions { border-left: 3px solid var(--accent-euromillions); }
.history-card.euromillions .history-card-type { color: var(--accent-euromillions); }

.history-card.custom { border-left: 3px solid var(--accent-custom); }
.history-card.custom .history-card-type { color: var(--accent-custom); }


/* ==========================================
   Main Content Layout
   ========================================== */
.main-content {
    flex-grow: 1;
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.app-header {
    text-align: left;
}

.app-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 8px;
    margin-bottom: 6px;
}

.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-standard);
    background-color: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 1px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.5;
}


/* ==========================================
   Game Mode Presets
   ========================================== */
.presets-section h3 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.preset-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.preset-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 60%);
    pointer-events: none;
}

.preset-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background-color: rgba(13, 20, 35, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.preset-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(255,255,255,0.04);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: var(--accent-standard);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Preset specific colors */
.preset-card:nth-child(1) .preset-icon { color: var(--accent-standard); background-color: rgba(59, 130, 246, 0.08); }
.preset-card:nth-child(2) .preset-icon { color: var(--accent-powerball); background-color: rgba(239, 68, 68, 0.08); }
.preset-card:nth-child(3) .preset-icon { color: var(--accent-megamillions); background-color: rgba(245, 158, 11, 0.08); }
.preset-card:nth-child(4) .preset-icon { color: var(--accent-euromillions); background-color: rgba(16, 185, 129, 0.08); }
.preset-card:nth-child(5) .preset-icon { color: var(--accent-custom); background-color: rgba(139, 92, 246, 0.08); }

.preset-info {
    display: flex;
    flex-direction: column;
}

.preset-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.preset-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Active Preset Card Styling */
.preset-card.active {
    border-width: 2px;
}

.preset-card[data-preset="standard"].active {
    border-color: var(--accent-standard);
    box-shadow: 0 0 20px var(--accent-standard-glow);
}
.preset-card[data-preset="powerball"].active {
    border-color: var(--accent-powerball);
    box-shadow: 0 0 20px var(--accent-powerball-glow);
}
.preset-card[data-preset="megamillions"].active {
    border-color: var(--accent-megamillions);
    box-shadow: 0 0 20px var(--accent-megamillions-glow);
}
.preset-card[data-preset="euromillions"].active {
    border-color: var(--accent-euromillions);
    box-shadow: 0 0 20px var(--accent-euromillions-glow);
}
.preset-card[data-preset="custom"].active {
    border-color: var(--accent-custom);
    box-shadow: 0 0 20px var(--accent-custom-glow);
}


/* ==========================================
   Custom Setup Section (Collapsible)
   ========================================== */
.custom-controls {
    background-color: rgba(13, 20, 35, 0.4);
    border: 1px dashed var(--border-color);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    max-height: 400px;
    overflow: hidden;
}

.custom-controls.hidden {
    opacity: 0;
    max-height: 0;
    padding: 0 24px;
    border-color: transparent;
    margin-top: 0;
    pointer-events: none;
}

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

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 12px;
}

/* Range input modern appearance */
.input-wrapper input[type="range"] {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    outline: none;
}

.input-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-custom);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
    transition: transform 0.1s ease;
}

.input-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-val {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 24px;
    text-align: right;
}

/* Custom Checkbox Toggle */
.toggle-group {
    justify-content: center;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.toggle-container input {
    display: none;
}

.checkmark {
    width: 44px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    position: relative;
    transition: background 0.3s ease;
    border: 1px solid var(--border-color);
}

.checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-container input:checked + .checkmark {
    background: var(--accent-custom);
}

.toggle-container input:checked + .checkmark::after {
    transform: translateX(20px);
}

/* Transition for conditional control group */
.bonus-control {
    transition: all 0.3s ease;
}

.bonus-control.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}


/* ==========================================
   Main Generation & Display Viewport
   ========================================== */
.display-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    background: radial-gradient(100% 100% at 50% 0%, rgba(13, 20, 35, 0.4) 0%, rgba(8, 12, 22, 0) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(8px);
}

/* Giant Glass Drum Layout */
.drum-outer {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 180px;
    border-radius: 90px;
    background: radial-gradient(120% 100% at 50% 10%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        inset 0 10px 30px rgba(255, 255, 255, 0.03),
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.drum-outer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(8, 12, 22, 0.8), transparent 25%, transparent 75%, rgba(8, 12, 22, 0.8));
    z-index: 2;
    pointer-events: none;
}

.numbers-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 1;
    width: 90%;
    height: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.numbers-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

/* Premium 3D Ball Rendering */
.number {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #dddddd 25%, #2563eb 65%, #1d4ed8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    box-shadow: 
        inset 0 -6px 12px rgba(0, 0, 0, 0.4),
        inset 0 6px 12px rgba(255, 255, 255, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    user-select: none;
    transform: scale(0) rotate(-180deg);
    opacity: 0;
    animation: ballEntrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Inner white highlight ring */
.number::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 10px;
    width: 12px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: rotate(-15deg);
}

/* Animation Keyframes for Balls */
@keyframes ballEntrance {
    0% {
        transform: scale(0) translateY(50px) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0) rotate(0deg);
        opacity: 1;
    }
}

/* Unique ball styling matching respective presets */
/* Standard: Classic Blue gradient spheres */
.number.standard {
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #60a5fa 20%, #2563eb 65%, #1e40af 100%);
}

/* Powerball Red sphere & Powerball Special Ball */
.number.powerball {
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #fca5a5 20%, #dc2626 65%, #991b1b 100%);
}
.number.powerball-bonus {
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #fef08a 20%, #eab308 65%, #854d0e 100%);
    box-shadow: 
        inset 0 -6px 12px rgba(0, 0, 0, 0.4),
        inset 0 6px 12px rgba(255, 255, 255, 0.4),
        0 8px 16px rgba(234, 179, 8, 0.3);
}

/* Mega Millions Golden Ball */
.number.megamillions {
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #93c5fd 20%, #1d4ed8 65%, #1e3a8a 100%);
}
.number.megamillions-bonus {
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #ffd060 20%, #f59e0b 65%, #b45309 100%);
    box-shadow: 
        inset 0 -6px 12px rgba(0, 0, 0, 0.4),
        inset 0 6px 12px rgba(255, 255, 255, 0.4),
        0 8px 16px rgba(245, 158, 11, 0.35);
}

/* EuroMillions Stars and Blue spheres */
.number.euromillions {
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #34d399 20%, #059669 65%, #064e3b 100%);
}
.number.euromillions-bonus {
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #ffd370 20%, #fca5a5 50%, #ea580c 100%);
    border: 2px dashed #f59e0b;
    box-shadow: 
        inset 0 -6px 12px rgba(0, 0, 0, 0.3),
        inset 0 6px 12px rgba(255, 255, 255, 0.4),
        0 8px 16px rgba(245, 158, 11, 0.3);
}

/* Custom Theme Spheres */
.number.custom {
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #c084fc 20%, #7c3aed 65%, #5b21b6 100%);
}
.number.custom-bonus {
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f472b6 20%, #db2777 65%, #9d174d 100%);
}


/* Action Controls */
.actions-container {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.generate-btn {
    background: linear-gradient(135deg, var(--accent-standard) 0%, #1e40af 100%);
    color: #ffffff;
    border: none;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px var(--accent-standard-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--accent-standard-glow);
    filter: brightness(1.1);
}

.generate-btn:active {
    transform: translateY(1px);
}

.generate-btn .btn-text {
    position: relative;
    z-index: 2;
}

.generate-btn .btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s ease, opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.generate-btn:hover .btn-glow {
    opacity: 1;
    transform: scale(1);
}

/* Secondary Button styling */
.secondary-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

.secondary-btn:active {
    transform: scale(0.97);
}


/* ==========================================
   Premium Toast Notification System
   ========================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.toast {
    background: rgba(13, 20, 35, 0.9);
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateX(120%);
    animation: toastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes toastIn {
    to {
        transform: translateX(0);
    }
}

.toast.toast-out {
    animation: toastOut 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes toastOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.toast i {
    color: var(--accent-standard);
}

.toast.success i {
    color: #10b981;
}

.toast.warning i {
    color: #ef4444;
}


/* ==========================================
   Responsive Adaptation (Mobile Friendly)
   ========================================== */
@media (max-width: 900px) {
    .app-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        max-height: 250px;
        order: 2; /* Move history to bottom on mobile for better primary usage flow */
    }

    .main-content {
        padding: 24px;
        order: 1;
    }

    .app-header h1 {
        font-size: 2rem;
    }

    .display-section {
        padding: 24px;
    }

    .drum-outer {
        height: 140px;
    }

    .number {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
}

/* Shake Animation for Drum Spin effect */
@keyframes drumShake {
    0%, 100% { transform: translateY(0); }
    15% { transform: translateY(-6px) rotate(-1deg); }
    30% { transform: translateY(4px) rotate(1deg); }
    45% { transform: translateY(-4px) rotate(-0.5deg); }
    60% { transform: translateY(3px) rotate(0.5deg); }
    75% { transform: translateY(-2px) rotate(-0.2deg); }
    90% { transform: translateY(1px); }
}

.drum-shake {
    animation: drumShake 0.65s cubic-bezier(.36,.07,.19,.97) both;
}
