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

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background-color: #f5f5f5;
	padding-bottom: 80px;
}

/* Header */
.header {
	background: linear-gradient(135deg, #dc2626, #ef4444);
	color: white;
	padding: 15px 20px;
	position: relative;
}

.status-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 10px;
}

.status-left {
	display: flex;
	align-items: center;
	gap: 5px;
}

.status-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.signal-bars {
	display: flex;
	gap: 2px;
}

.bar {
	width: 3px;
	height: 12px;
	background: white;
	border-radius: 1px;
}

.greeting {
	font-size: 20px;
	font-weight: 300;
	text-align: center;
}

/* Location */
.location {
	background: rgba(255, 255, 255, 0.2);
	margin-bottom:15px;
	padding: 15px 15px;
	display: flex;
	align-items: center;
	gap: 10px;
	background-color:#ff000030;
}

.location i {
	color: #22c55e;
	font-size: 14px;
}

.location-text {
	flex: 1;
	font-size: 14px;
}

/* Action buttons */
.action-buttons {
	display: flex;
	gap: 10px;
	padding: 0 20px;
	margin-bottom: 20px;
}

.action-btn {
	flex: 1;
	background: white;
	border: none;
	border-radius: 15px;
	padding: 12px 15px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.action-btn i {
	font-size: 16px;
}

/* Offers carousel */
.offers-carousel {
	margin-bottom: 20px;
}

.offer-slide {
	overflow: hidden;
	margin: 0 10px;
	text-align: center;
	padding: 20px 15px;
	text-decoration: none;
	display:flex; 
	flex-direction:column;
	justify-content:center; 
	align-items:center;
}

.offer-image {
	width:180px;
	aspect-ratio:1 / 1;
	border-radius:100%;
	overflow: hidden;
	position:relative;
}

.offer-image > img {
	object-fit:cover;
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	object-position:center;
}

.offer-discount {
	font-size: 18px;
	font-weight: bold;
	color: #dc2626;
	margin-bottom: 5px;
}

.offer-text {
	font-size: 22px;
	color: #222;
	line-height: 1.3;
	margin-top:10px;
}

/* Wine tasting banner */
.wine-banner {
	margin: 0 20px 30px;
	background: linear-gradient(135deg, #8b4513, #a0522d);
	border-radius: 20px;
	padding: 25px;
	color: white;
	position: relative;
	overflow: hidden;
}

.wine-banner::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20px;
	width: 200px;
	height: 200px;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
	border-radius: 50%;
}

.wine-title {
	font-size: 24px;
	font-weight: 300;
	margin-bottom: 10px;
	font-style: italic;
}

.wine-subtitle {
	font-size: 14px;
	margin-bottom: 15px;
	opacity: 0.9;
}

.wine-main {
	font-size: 28px;
	font-weight: bold;
	line-height: 1.2;
}

.wine-dots {
	display: flex;
	gap: 8px;
	margin-top: 20px;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
}

.dot.active {
	background: white;
}

/* Products section */
.products-section {
	padding: 0 20px;
	margin-bottom: 30px;
}

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

.section-title {
	font-size: 20px;
	font-weight: 600;
	color: #333;
}

.see-all {
	color: #dc2626;
	font-size: 14px;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 5px;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
}

.product-card {
	background: white;
	border-radius: 15px;
	padding: 15px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	position: relative;
}

.product-image {
	width:100%;
	aspect-ratio:1 / 1;
	position: relative;
	background: #f8f8f8;
	border-radius: 10px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	color: #ccc;
}

.product-image > img {
	object-fit:cover;
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.card-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	color: white;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 600;
	border-radius:5px;
	overflow: hidden;
	height: 35px;
	z-index: 2;
}

.card-badge > img {
	height:40px;
	object-fit:cover;
	object-position:bottom;
}

.product-brand {
	font-size: 24px;
	color: #666;
	margin-bottom: 5px;
}

.product-name {
	font-size: 32px;
	font-weight: 500;
	color: #333;
	margin-bottom: 8px;
	line-height: 1.3;
}


.price-old {
	text-decoration: line-through;
	color: #999;
	font-size: 12px;
}

.price-new {
	color: #dc2626;
	font-weight: bold;
	font-size: 14px;
}

.card-button {
	background: #3b82f6;
	color: white;
	border: none;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 26px;
	width: 100%;
}

.full-image-banner {
	aspect-ratio:2.1 / 1;
	position: relative;
	overflow: hidden;
	border-radius:20px;
	margin:20px;
}

.full-image-banner img {
	object-fit:cover;
	position: absolute;
	top:0;
	left:0;
	width:100%;
	hegiht:100%;
}

/* Register button */
.register-overlay {
	position: fixed;
	bottom: 80px;
	left: 20px;
	right: 20px;
	z-index: 1000;
}

.register-btn {
	background: #dc2626;
	color: white;
	border: none;
	border-radius: 25px;
	padding: 15px 30px;
	font-size: 16px;
	font-weight: 600;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

/* Bottom navigation */
.bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: white;
	padding: 10px 0;
	border-top: 1px solid #e5e5e5;
	z-index: 1000;
}

.nav-items {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	color: #666;
	text-decoration: none;
	font-size: 12px;
}

.nav-item.active {
	color: #dc2626;
}

.nav-item i {
	font-size: 20px;
}

/* Swiper customization */
.swiper {
	padding: 10px 0;
}

.swiper-slide {
	width: auto;
}

/* Responsive */
@media (max-width: 380px) {
	.action-buttons {
		flex-wrap: wrap;
	}

	.action-btn {
		min-width: calc(50% - 5px);
	}

	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


.coupons-header {
	background: white;
	padding: 0;
	margin-bottom: 0;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.coupons-nav {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	gap: 15px;
}

.back-btn {
	background: none;
	border: none;
	font-size: 18px;
	color: #333;
	padding: 5px;
}

.coupons-title {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.coupons-title h1 {
	font-size: 20px;
	font-weight: 500;
	color: #333;
	margin: 0;
}

.coupons-count {
	display: flex;
	align-items: center;
	gap: 5px;
	background: #ff6b35;
	color: white;
	padding: 5px 10px;
	border-radius: 15px;
	font-size: 14px;
	font-weight: 500;
}

.coupons-tabs {
	border-bottom: 1px solid #e5e5e5;
}

.tab-buttons {
	display: flex;
	padding: 0 20px;
}

.tab-btn {
	flex: 1;
	background: none;
	border: none;
	padding: 15px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	color: #666;
	font-size: 12px;
	position: relative;
}

.tab-btn.active {
	color: #dc2626;
}

.tab-btn.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: #dc2626;
}

.tab-btn i {
	font-size: 16px;
}

.filter-buttons {
	display: flex;
	gap: 10px;
	padding: 15px 20px;
}

.filter-btn {
	background: #f5f5f5;
	border: none;
	border-radius: 20px;
	padding: 8px 16px;
	font-size: 14px;
	color: #666;
}

.filter-btn.active {
	background: #dc2626;
	color: white;
}

.coupons-container {
	max-height: 65vh;
	overflow-y: scroll;
	padding: 25px 20px 25px 20px;
	background: #f5f5f5;
}

.coupon-card {
	background: white;
	border-radius: 15px;
	margin-bottom: 15px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	position: relative;
}

.coupon-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	background: #3b82f6;
	color: white;
	padding: 2px 4px;
	font-size: 12px;
	font-weight: 600;
	z-index: 2;
}

.coupon-badge-expires {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #ff6b35;
	color: white;
	padding: 4px 8px;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 600;
	z-index: 2;
}

.coupon-content {
	display: flex;
	padding: 20px 15px 15px;
	gap: 15px;
	align-items: flex-start;
}

.coupon-image {
	width: 40%;
	aspect-ratio:1.7 / 1;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #f8f8f8;
	position: relative;
}

.coupon-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.coupon-details {
	flex: 1;
}

.coupon-type {
	font-size: 22px;
	color: #666;
	display: block;
	margin-bottom: 5px;
}

.coupon-text h3 {
	font-size: 24px;
	font-weight: 600;
	color: #333;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.coupon-text p {
	font-size: 20px;
	color: #666;
	margin: 0 0 4px 0;
	line-height: 1.3;
}

.coupon-note {
	font-style: italic;
}

.coupon-validity {
	margin-top: 8px;
}

.coupon-validity span {
	font-size: 16px;
	color: #999;
}

.coupon-copy {
	color: #666;
	font-size: 16px;
	margin-left: 10px;
}

.coupon-activate-btn {
	width: 100%;
	background: #22c55e;
	color: white;
	border: none;
	padding: 12px;
	font-size: 14px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.coupon-activate-btn.activated {
	background: #16a34a;
	pointer-events: none;
}

.coupon-activate-btn:not(.activated):hover {
	background: #16a34a;
}

/* Responsive adjustments for coupons */
@media (max-width: 380px) {
	.coupons-container {
		padding: 0 15px 20px;
	}
	
	.coupon-content {
		padding: 15px 10px 10px;
		gap: 10px;
	}
	
	.coupon-image {
		width: 50px;
		height: 50px;
	}
	
	.coupon-text h3 {
		font-size: 13px;
	}
	
	.coupon-text p {
		font-size: 11px;
	}
}



/* ruleta */
.slot-container {
	background: #fff;
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.2);
	text-align: center;
	max-width: 700px;
	width: 100%;
}

.slot-title {
	font-size: 2.5em;
	color: #333;
	margin-bottom: 30px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.slot-machine {
	border-radius: 15px;
	padding: 20px;
	margin: 0 auto 30px;
	box-shadow:
		inset 0 0 20px rgba(0,0,0,0.3),
		0 10px 20px rgba(0,0,0,0.2);
}

.slot-window {
	width: 400px;
	height: 400px;
	margin: 0 auto;
	border: 5px solid #gold;
	border-color: #ffd700;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	/*box-shadow: inset 0 0 20px rgba(0,0,0,0.8);*/
}

.slot-reel {
	position: absolute;
	width: 100%;
	top: 0;
	transition: transform 5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slot-reel.spinning {
	transition: transform 5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slot-item {
	width: 100%;
	height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.slot-item img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 10px;
}

.slot-item .prize-name {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	color: #ffd700;
	font-size: 12px;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	background: rgba(0,0,0,0.7);
	padding: 2px 8px;
	border-radius: 5px;
}

/* Indicator central */
.slot-indicator {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 3px;
	background: #ff6b6b;
	transform: translateY(-50%);
	z-index: 10;
	box-shadow: 0 0 10px rgba(255,107,107,0.8);
}

.slot-indicator::before,
.slot-indicator::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 0;
	height: 0;
	transform: translateY(-50%);
}

.slot-indicator::before {
	left: -10px;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-right: 10px solid #ff6b6b;
}

.slot-indicator::after {
	right: -10px;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 10px solid #ff6b6b;
}

.spin-button {
	background: #dc2626;
	color: white;
	border: none;
	padding: 15px 40px;
	font-size: 1.3em;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	font-weight: bold;
	text-transform: uppercase;
}

.spin-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.spin-button:disabled {
	background: #666;
	cursor: not-allowed;
	transform: none;
}

.result {
	margin-top: 20px;
	font-size: 1.3em;
	font-weight: bold;
	color: #333;
	min-height: 40px;
}

.loading {
	display: none;
	margin-top: 15px;
	color: #666;
	font-style: italic;
}

.loading.show {
	display: block;
}

.winner-effect {
	animation: pulse 0.5s ease-in-out 3;
}

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